Fossil SCM

Fix harmless compiler warning.

mistachkin 2018-08-07 21:44 trunk
Commit 014bb2d7debc98e594df94668ed8f658fe834bc51db4210515f8a1e23360661e
1 file changed +1 -1
+1 -1
--- src/login.c
+++ src/login.c
@@ -1495,11 +1495,11 @@
14951495
const char *zDName;
14961496
unsigned int uSeed;
14971497
const char *zDecoded;
14981498
char *zCaptcha;
14991499
int iErrLine = -1;
1500
- const char *zErr;
1500
+ const char *zErr = 0;
15011501
if( !db_get_boolean("self-register", 0) ){
15021502
style_header("Registration not possible");
15031503
@ <p>This project does not allow user self-registration. Please contact the
15041504
@ project administrator to obtain an account.</p>
15051505
style_footer();
15061506
--- src/login.c
+++ src/login.c
@@ -1495,11 +1495,11 @@
1495 const char *zDName;
1496 unsigned int uSeed;
1497 const char *zDecoded;
1498 char *zCaptcha;
1499 int iErrLine = -1;
1500 const char *zErr;
1501 if( !db_get_boolean("self-register", 0) ){
1502 style_header("Registration not possible");
1503 @ <p>This project does not allow user self-registration. Please contact the
1504 @ project administrator to obtain an account.</p>
1505 style_footer();
1506
--- src/login.c
+++ src/login.c
@@ -1495,11 +1495,11 @@
1495 const char *zDName;
1496 unsigned int uSeed;
1497 const char *zDecoded;
1498 char *zCaptcha;
1499 int iErrLine = -1;
1500 const char *zErr = 0;
1501 if( !db_get_boolean("self-register", 0) ){
1502 style_header("Registration not possible");
1503 @ <p>This project does not allow user self-registration. Please contact the
1504 @ project administrator to obtain an account.</p>
1505 style_footer();
1506

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button