From aa703bdada60fae2021d0e97ca3535945eeda615 Mon Sep 17 00:00:00 2001 From: David Levine Date: Fri, 27 Jan 2012 19:36:14 -0600 Subject: [PATCH] Changed a variable to unsigned and noted an argument as unused to silence compile warnings in uip/popsbr.c --- uip/popsbr.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/uip/popsbr.c b/uip/popsbr.c index 2d03efd..fcdbd75 100644 --- a/uip/popsbr.c +++ b/uip/popsbr.c @@ -343,6 +343,8 @@ sasl_get_user(void *context, int id, const char **result, unsigned *len) static int sasl_get_pass(sasl_conn_t *conn, void *context, int id, sasl_secret_t **psecret) { + NMH_UNUSED (conn); + struct pass_context *p_context = (struct pass_context *) context; char *pass = NULL; int len; @@ -893,7 +895,7 @@ static int sasl_fgetc(FILE *f) { static unsigned char *buffer = NULL, *ptr; - static int size = 0; + static unsigned int size = 0; static int cnt = 0; unsigned int retbufsize = 0; int cc, result; -- 1.7.10.4