summaryrefslogtreecommitdiff
path: root/imap
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2020-07-02 16:52:15 -0600
committerEduardo Chappa <chappa@washington.edu>2020-07-02 16:52:15 -0600
commite1a0f879f922ce6015fa9f9555525fee3968e187 (patch)
treeac6a0d4cc98a7651d9bbf44ca9615e219bcc82b4 /imap
parentfd6fa417350dff2ae92fdf95d34896240913f2e0 (diff)
downloadalpine-e1a0f879f922ce6015fa9f9555525fee3968e187.tar.xz
* Fix some compilation warnings in Windows. Reported by Barry Landy.
Diffstat (limited to 'imap')
-rw-r--r--imap/src/c-client/auth_bea.c3
-rw-r--r--imap/src/c-client/oauth2_aux.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/imap/src/c-client/auth_bea.c b/imap/src/c-client/auth_bea.c
index 66604a3..e580042 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 88ee52a..e7b14c6 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)