summaryrefslogtreecommitdiff
path: root/imap/src/c-client
diff options
context:
space:
mode:
Diffstat (limited to 'imap/src/c-client')
-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 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)