Fossil SCM
Fix harmless compiler warning.
Commit
014bb2d7debc98e594df94668ed8f658fe834bc51db4210515f8a1e23360661e
Parent
f430f6234abb45c…
1 file changed
+1
-1
+1
-1
| --- src/login.c | ||
| +++ src/login.c | ||
| @@ -1495,11 +1495,11 @@ | ||
| 1495 | 1495 | const char *zDName; |
| 1496 | 1496 | unsigned int uSeed; |
| 1497 | 1497 | const char *zDecoded; |
| 1498 | 1498 | char *zCaptcha; |
| 1499 | 1499 | int iErrLine = -1; |
| 1500 | - const char *zErr; | |
| 1500 | + const char *zErr = 0; | |
| 1501 | 1501 | if( !db_get_boolean("self-register", 0) ){ |
| 1502 | 1502 | style_header("Registration not possible"); |
| 1503 | 1503 | @ <p>This project does not allow user self-registration. Please contact the |
| 1504 | 1504 | @ project administrator to obtain an account.</p> |
| 1505 | 1505 | style_footer(); |
| 1506 | 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; |
| 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 |