summaryrefslogtreecommitdiff
path: root/imap/src/c-client/oauth2_aux.c
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/src/c-client/oauth2_aux.c
parentfd6fa417350dff2ae92fdf95d34896240913f2e0 (diff)
downloadalpine-e1a0f879f922ce6015fa9f9555525fee3968e187.tar.xz
* Fix some compilation warnings in Windows. Reported by Barry Landy.
Diffstat (limited to 'imap/src/c-client/oauth2_aux.c')
-rw-r--r--imap/src/c-client/oauth2_aux.c3
1 files changed, 1 insertions, 2 deletions
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)