enable some warnings & fix 'em

This commit is contained in:
Steffen Jaeckel
2017-06-29 15:16:43 +02:00
parent 4c504ee42b
commit c074a6166c
5 changed files with 6 additions and 7 deletions

View File

@@ -79,7 +79,7 @@ static int test_strdup_one(xmpp_ctx_t *ctx, const char *s)
static int test_strdup(void)
{
xmpp_ctx_t *ctx;
int i;
size_t i;
int rc = 0;
static const char *tests[] = { "", "\0", "test", "s p a c e", "\n\r" };