GBA: Fix warning in config loader
Jeffrey Pfau jeffrey@endrift.com
Wed, 21 Jan 2015 23:07:04 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/gba/gba-config.c
→
src/gba/gba-config.c
@@ -213,7 +213,7 @@ _lookupIntValue(config, "fullscreen", &opts->fullscreen);
_lookupIntValue(config, "width", &opts->width); _lookupIntValue(config, "height", &opts->height); - char* idleOptimization; + char* idleOptimization = 0; if (_lookupCharValue(config, "idleOptimization", &idleOptimization)) { if (strcasecmp(idleOptimization, "ignore") == 0) { opts->idleOptimization = IDLE_LOOP_IGNORE;