Fossil SCM

Fix a harmless compiler warning.

drh 2020-03-14 12:49 trunk
Commit 11d1233d305c0fd667114be1ebedd6e4141425d47a6ae8c633637b20b731a81f
1 file changed +2 -2
+2 -2
--- src/alerts.c
+++ src/alerts.c
@@ -1259,11 +1259,11 @@
12591259
** page. To allow anonymous passers-by to sign up for email
12601260
** notification, set Email-Alerts on user "nobody" or "anonymous".
12611261
*/
12621262
void subscribe_page(void){
12631263
int needCaptcha;
1264
- unsigned int uSeed;
1264
+ unsigned int uSeed = 0;
12651265
const char *zDecoded;
12661266
char *zCaptcha = 0;
12671267
char *zErr = 0;
12681268
int eErr = 0;
12691269
int di;
@@ -1761,11 +1761,11 @@
17611761
*/
17621762
void unsubscribe_page(void){
17631763
const char *zName = P("name");
17641764
char *zErr = 0;
17651765
int eErr = 0;
1766
- unsigned int uSeed;
1766
+ unsigned int uSeed = 0;
17671767
const char *zDecoded;
17681768
char *zCaptcha = 0;
17691769
int dx;
17701770
int bSubmit;
17711771
const char *zEAddr;
17721772
--- 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

Keyboard Shortcuts

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