all repos — mgba @ 28ba251cfbb4396f9501b5404c0a4a5afcf43211

mGBA Game Boy Advance Emulator

Fix some warnings
Jeffrey Pfau jeffrey@endrift.com
Sat, 05 Jul 2014 16:29:31 -0700
commit

28ba251cfbb4396f9501b5404c0a4a5afcf43211

parent

ced522097553234a43e5ee923f1cafce73c2d15c

2 files changed, 2 insertions(+), 1 deletions(-)

jump to
M src/platform/commandline.csrc/platform/commandline.c

@@ -117,6 +117,7 @@ opts->height = 160;

} int _parseGraphicsArg(struct SubParser* parser, int option, const char* arg) { + (void) (arg); struct GraphicsOpts* graphicsOpts = parser->opts; switch (option) { case 'f':
M src/platform/perf-main.csrc/platform/perf-main.c

@@ -28,7 +28,7 @@

struct GBAVideoSoftwareRenderer renderer; GBAVideoSoftwareRendererCreate(&renderer); - struct PerfOpts perfOpts = {}; + struct PerfOpts perfOpts = { 0 }; struct SubParser subparser = { .usage = PERF_USAGE, .parse = _parsePerfOpts,