diff options
Diffstat (limited to 'imap/src/c-client')
-rw-r--r-- | imap/src/c-client/imap4r1.c | 2 | ||||
-rw-r--r-- | imap/src/c-client/json.c | 2 | ||||
-rw-r--r-- | imap/src/c-client/oauth2_aux.c | 2 | ||||
-rw-r--r-- | imap/src/c-client/pop3.c | 2 | ||||
-rw-r--r-- | imap/src/c-client/smtp.c | 2 | ||||
-rw-r--r-- | imap/src/c-client/utf8.c | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/imap/src/c-client/imap4r1.c b/imap/src/c-client/imap4r1.c index b4479e72..155b4d5c 100644 --- a/imap/src/c-client/imap4r1.c +++ b/imap/src/c-client/imap4r1.c @@ -1186,7 +1186,7 @@ long imap_anon (MAILSTREAM *stream,char *tmp) long imap_auth (MAILSTREAM *stream,NETMBX *mb,char *tmp,char *usr) { - unsigned long trial,ua,uasaved; + unsigned long trial,ua,uasaved = NIL; int ok; char tag[16]; char *lsterr = NIL, *base; diff --git a/imap/src/c-client/json.c b/imap/src/c-client/json.c index 973c8ff5..1dd9c999 100644 --- a/imap/src/c-client/json.c +++ b/imap/src/c-client/json.c @@ -209,7 +209,7 @@ json_strchr(unsigned char *s, unsigned char c) void * json_value_parse(unsigned char **s, JObjType *jtype) { - void *rv; + void *rv = NIL; unsigned char *u, *w; unsigned long *l; diff --git a/imap/src/c-client/oauth2_aux.c b/imap/src/c-client/oauth2_aux.c index bb4ddbcf..4ab538c7 100644 --- a/imap/src/c-client/oauth2_aux.c +++ b/imap/src/c-client/oauth2_aux.c @@ -104,7 +104,7 @@ JSON_S *oauth2_json_reply(OAUTH2_SERVER_METHOD_S RefreshMethod, OAUTH2_S *oauth2 { JSON_S *json = NULL; HTTP_PARAM_S params[OAUTH2_PARAM_NUMBER]; - HTTPSTREAM *stream; + HTTPSTREAM *stream = NIL; unsigned char *s; char *server = NULL; diff --git a/imap/src/c-client/pop3.c b/imap/src/c-client/pop3.c index d91b3ccd..89c3d9cb 100644 --- a/imap/src/c-client/pop3.c +++ b/imap/src/c-client/pop3.c @@ -555,7 +555,7 @@ long pop3_capa (MAILSTREAM *stream,long flags) long pop3_auth (MAILSTREAM *stream,NETMBX *mb,char *pwd,char *usr) { - unsigned long i,trial,auths = 0, authsaved; + unsigned long i,trial,auths = 0, authsaved = NIL; char *t, *app_pwd = NIL, *base; AUTHENTICATOR *at, *atsaved; long ret = NIL; diff --git a/imap/src/c-client/smtp.c b/imap/src/c-client/smtp.c index 002e4107..bee34565 100644 --- a/imap/src/c-client/smtp.c +++ b/imap/src/c-client/smtp.c @@ -281,7 +281,7 @@ SENDSTREAM *smtp_open_full (NETDRIVER *dv,char **hostlist,char *service, long smtp_auth (SENDSTREAM *stream,NETMBX *mb,char *tmp) { - unsigned long trial,auths, authsaved; + unsigned long trial,auths, authsaved = NIL; char *lsterr = NIL; char usr[MAILTMPLEN], *base; AUTHENTICATOR *at, *atsaved; diff --git a/imap/src/c-client/utf8.c b/imap/src/c-client/utf8.c index be03bd10..418f94da 100644 --- a/imap/src/c-client/utf8.c +++ b/imap/src/c-client/utf8.c @@ -2422,7 +2422,7 @@ RECURSIVEMORE { unsigned long ucs4_decompose (unsigned long c,void **more) { - unsigned long i,ix,ret; + unsigned long i,ix,ret = c; struct decomposemore *m; if (c & U8G_ERROR) { /* want to chase more? */ /* do sanity check */ |