From e1a0f879f922ce6015fa9f9555525fee3968e187 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Thu, 2 Jul 2020 16:52:15 -0600 Subject: * Fix some compilation warnings in Windows. Reported by Barry Landy. --- imap/src/c-client/auth_bea.c | 3 +-- imap/src/c-client/oauth2_aux.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'imap/src') diff --git a/imap/src/c-client/auth_bea.c b/imap/src/c-client/auth_bea.c index 66604a35..e5800427 100644 --- a/imap/src/c-client/auth_bea.c +++ b/imap/src/c-client/auth_bea.c @@ -48,7 +48,6 @@ long auth_oauthbearer_client (authchallenge_t challenger,authrespond_t responder char *service,NETMBX *mb,void *stream, unsigned long port, unsigned long *trial,char *user) { - char *u; void *challenge; unsigned long clen; long ret = NIL; @@ -114,7 +113,7 @@ long auth_oauthbearer_client (authchallenge_t challenger,authrespond_t responder else { char ports[10]; unsigned long rlen; - char *t, *response; + char *response; sprintf(ports, "%lu", port); rlen = strlen(BEARER_ACCOUNT) + strlen(user) + 1 + 1 diff --git a/imap/src/c-client/oauth2_aux.c b/imap/src/c-client/oauth2_aux.c index 88ee52a6..e7b14c69 100644 --- a/imap/src/c-client/oauth2_aux.c +++ b/imap/src/c-client/oauth2_aux.c @@ -127,7 +127,7 @@ void mm_login_oauth2_c_client_method (NETMBX *mb, char *user, char *method, OAUTH2_S *oauth2, unsigned long trial, int *tryanother) { - int i, status; + int status; char *s = NULL; JSON_S *json = NULL; @@ -307,7 +307,6 @@ void oauth2deviceinfo_get_accesscode(void *inp, void *outp) OAUTH2_S *oauth2 = oad->xoauth2; OAUTH2_DEVICECODE_S *dcode = &oauth2->devicecode; int done = 0, status, rv; - HTTP_PARAM_S params[OAUTH2_PARAM_NUMBER]; JSON_S *json; if(dcode->device_code && oauth2->param[OA2_DeviceCode].value == NULL) -- cgit v1.2.3-54-g00ecf