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) {
|
int _parseGraphicsArg(struct SubParser* parser, int option, const char* arg) {
|
||||||
|
(void) (arg);
|
||||||
struct GraphicsOpts* graphicsOpts = parser->opts;
|
struct GraphicsOpts* graphicsOpts = parser->opts;
|
||||||
switch (option) {
|
switch (option) {
|
||||||
case 'f':
|
case 'f':
|
||||||
|
|
|
@ -28,7 +28,7 @@ int main(int argc, char** argv) {
|
||||||
struct GBAVideoSoftwareRenderer renderer;
|
struct GBAVideoSoftwareRenderer renderer;
|
||||||
GBAVideoSoftwareRendererCreate(&renderer);
|
GBAVideoSoftwareRendererCreate(&renderer);
|
||||||
|
|
||||||
struct PerfOpts perfOpts = {};
|
struct PerfOpts perfOpts = { 0 };
|
||||||
struct SubParser subparser = {
|
struct SubParser subparser = {
|
||||||
.usage = PERF_USAGE,
|
.usage = PERF_USAGE,
|
||||||
.parse = _parsePerfOpts,
|
.parse = _parsePerfOpts,
|
||||||
|
|
Loading…
Reference in New Issue