From dba275c5705f54501ae6819fb34b9f93a29185c6 Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Wed, 21 Jan 2015 23:07:04 -0800 Subject: [PATCH] GBA: Fix warning in config loader --- src/gba/gba-config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gba/gba-config.c b/src/gba/gba-config.c index 4354bfa20..45769b6e6 100644 --- a/src/gba/gba-config.c +++ b/src/gba/gba-config.c @@ -213,7 +213,7 @@ void GBAConfigMap(const struct GBAConfig* config, struct GBAOptions* opts) { _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;