From c838c49e23950a373278c7ce1eb7a04a39abc3a1 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 21 Dec 2014 03:35:00 +0100 Subject: [PATCH] Fix potential uninitialized variable warning in cheats.c --- cheats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cheats.c b/cheats.c index ffd8e35bb7..1f892a39d1 100644 --- a/cheats.c +++ b/cheats.c @@ -68,7 +68,7 @@ cheat_manager_t *cheat_manager_load(const char *path) char code_key[256]; char enable_key[256]; char *tmp = NULL; - bool tmp_bool; + bool tmp_bool = false; snprintf(key, sizeof(key), "cheat%u", i); snprintf(desc_key, sizeof(desc_key), "cheat%u_desc", i);