projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5dded84
)
Changed a variable to unsigned and noted an argument as unused to silence compile...
author
David Levine
<levinedl@acm.org>
Sat, 28 Jan 2012 01:36:14 +0000
(19:36 -0600)
committer
David Levine
<levinedl@acm.org>
Sat, 28 Jan 2012 01:36:14 +0000
(19:36 -0600)
uip/popsbr.c
patch
|
blob
|
history
diff --git
a/uip/popsbr.c
b/uip/popsbr.c
index
2d03efd
..
fcdbd75
100644
(file)
--- 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;