From a3a2e3074daa0c9da649593814bae2e3a97b436e Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 12 Jul 2015 01:38:22 +0200 Subject: [PATCH] uninitialized variable --- src/tests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests.c b/src/tests.c index f70ef2d99..597e7fbc8 100644 --- a/src/tests.c +++ b/src/tests.c @@ -240,7 +240,7 @@ const message_type *register_msg(const char *type, int n_param, ...) { void assert_messages(struct CuTest * tc, struct mlist *msglist, const message_type **types, int num_msgs, bool exact_match, ...) { va_list args; - int found, argc = -1; + int found = 0, argc = -1; struct message *msg; bool match = true;