Fossil SCM
Fix a harmless compiler warning.
Commit
11d1233d305c0fd667114be1ebedd6e4141425d47a6ae8c633637b20b731a81f
Parent
74549a9a8d1668b…
1 file changed
+2
-2
+2
-2
| --- src/alerts.c | ||
| +++ src/alerts.c | ||
| @@ -1259,11 +1259,11 @@ | ||
| 1259 | 1259 | ** page. To allow anonymous passers-by to sign up for email |
| 1260 | 1260 | ** notification, set Email-Alerts on user "nobody" or "anonymous". |
| 1261 | 1261 | */ |
| 1262 | 1262 | void subscribe_page(void){ |
| 1263 | 1263 | int needCaptcha; |
| 1264 | - unsigned int uSeed; | |
| 1264 | + unsigned int uSeed = 0; | |
| 1265 | 1265 | const char *zDecoded; |
| 1266 | 1266 | char *zCaptcha = 0; |
| 1267 | 1267 | char *zErr = 0; |
| 1268 | 1268 | int eErr = 0; |
| 1269 | 1269 | int di; |
| @@ -1761,11 +1761,11 @@ | ||
| 1761 | 1761 | */ |
| 1762 | 1762 | void unsubscribe_page(void){ |
| 1763 | 1763 | const char *zName = P("name"); |
| 1764 | 1764 | char *zErr = 0; |
| 1765 | 1765 | int eErr = 0; |
| 1766 | - unsigned int uSeed; | |
| 1766 | + unsigned int uSeed = 0; | |
| 1767 | 1767 | const char *zDecoded; |
| 1768 | 1768 | char *zCaptcha = 0; |
| 1769 | 1769 | int dx; |
| 1770 | 1770 | int bSubmit; |
| 1771 | 1771 | const char *zEAddr; |
| 1772 | 1772 |
| --- src/alerts.c | |
| +++ src/alerts.c | |
| @@ -1259,11 +1259,11 @@ | |
| 1259 | ** page. To allow anonymous passers-by to sign up for email |
| 1260 | ** notification, set Email-Alerts on user "nobody" or "anonymous". |
| 1261 | */ |
| 1262 | void subscribe_page(void){ |
| 1263 | int needCaptcha; |
| 1264 | unsigned int uSeed; |
| 1265 | const char *zDecoded; |
| 1266 | char *zCaptcha = 0; |
| 1267 | char *zErr = 0; |
| 1268 | int eErr = 0; |
| 1269 | int di; |
| @@ -1761,11 +1761,11 @@ | |
| 1761 | */ |
| 1762 | void unsubscribe_page(void){ |
| 1763 | const char *zName = P("name"); |
| 1764 | char *zErr = 0; |
| 1765 | int eErr = 0; |
| 1766 | unsigned int uSeed; |
| 1767 | const char *zDecoded; |
| 1768 | char *zCaptcha = 0; |
| 1769 | int dx; |
| 1770 | int bSubmit; |
| 1771 | const char *zEAddr; |
| 1772 |
| --- src/alerts.c | |
| +++ src/alerts.c | |
| @@ -1259,11 +1259,11 @@ | |
| 1259 | ** page. To allow anonymous passers-by to sign up for email |
| 1260 | ** notification, set Email-Alerts on user "nobody" or "anonymous". |
| 1261 | */ |
| 1262 | void subscribe_page(void){ |
| 1263 | int needCaptcha; |
| 1264 | unsigned int uSeed = 0; |
| 1265 | const char *zDecoded; |
| 1266 | char *zCaptcha = 0; |
| 1267 | char *zErr = 0; |
| 1268 | int eErr = 0; |
| 1269 | int di; |
| @@ -1761,11 +1761,11 @@ | |
| 1761 | */ |
| 1762 | void unsubscribe_page(void){ |
| 1763 | const char *zName = P("name"); |
| 1764 | char *zErr = 0; |
| 1765 | int eErr = 0; |
| 1766 | unsigned int uSeed = 0; |
| 1767 | const char *zDecoded; |
| 1768 | char *zCaptcha = 0; |
| 1769 | int dx; |
| 1770 | int bSubmit; |
| 1771 | const char *zEAddr; |
| 1772 |