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,