From cc8558025bd263fbe4f20129f9a39a4e778b59bb Mon Sep 17 00:00:00 2001 From: Dale Weiler Date: Sun, 6 Jan 2013 03:33:21 +0000 Subject: [PATCH] No more uninitialized --- correct.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/correct.c b/correct.c index d9ad757..3926441 100644 --- a/correct.c +++ b/correct.c @@ -467,13 +467,12 @@ static char *correct_maximum(correct_trie_t* table, char **array, size_t rows) { * add to the dictonary. */ char *correct_str(correct_trie_t* table, const char *ident) { - char **e1; - char **e2; - char *e1ident; - char *e2ident; - - size_t e1rows = 0; - size_t e2rows = 0; + char **e1 = NULL; + char **e2 = NULL; + char *e1ident = NULL; + char *e2ident = NULL; + size_t e1rows = 0; + size_t e2rows = 0; correct_pool_new(); -- 2.39.2