Fix potential uninitialized variable warning in cheats.c

This commit is contained in:
twinaphex 2014-12-21 03:35:00 +01:00
parent 9daecea53e
commit c838c49e23

View File

@ -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);