diff --git a/src/gb/core.c b/src/gb/core.c index 7fb4cbe60..f7f552914 100644 --- a/src/gb/core.c +++ b/src/gb/core.c @@ -261,7 +261,7 @@ static void _GBCoreReset(struct mCore* core) { } if (!found) { GBDetectModel(gb); - const char* configPath; + const char* configPath = NULL; switch (gb->model) { case GB_MODEL_DMG: