Fix some warnings

This commit is contained in:
Jeffrey Pfau 2014-07-05 16:29:31 -07:00
parent ced5220975
commit 28ba251cfb
2 changed files with 2 additions and 1 deletions

View File

@ -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':

View File

@ -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,