mirror of https://github.com/mgba-emu/mgba.git
Fix some warnings
This commit is contained in:
parent
ced5220975
commit
28ba251cfb
|
@ -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':
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue