From 28ba251cfbb4396f9501b5404c0a4a5afcf43211 Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Sat, 5 Jul 2014 16:29:31 -0700 Subject: [PATCH] Fix some warnings --- src/platform/commandline.c | 1 + src/platform/perf-main.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/platform/commandline.c b/src/platform/commandline.c index 297539c84..953b4e463 100644 --- a/src/platform/commandline.c +++ b/src/platform/commandline.c @@ -117,6 +117,7 @@ void initParserForGraphics(struct SubParser* parser, struct GraphicsOpts* opts) } int _parseGraphicsArg(struct SubParser* parser, int option, const char* arg) { + (void) (arg); struct GraphicsOpts* graphicsOpts = parser->opts; switch (option) { case 'f': diff --git a/src/platform/perf-main.c b/src/platform/perf-main.c index c554a8e60..b27e3ce75 100644 --- a/src/platform/perf-main.c +++ b/src/platform/perf-main.c @@ -28,7 +28,7 @@ int main(int argc, char** argv) { struct GBAVideoSoftwareRenderer renderer; GBAVideoSoftwareRendererCreate(&renderer); - struct PerfOpts perfOpts = {}; + struct PerfOpts perfOpts = { 0 }; struct SubParser subparser = { .usage = PERF_USAGE, .parse = _parsePerfOpts,