diff options
author | Nebuleon Fumika | 2013-01-18 02:41:32 -0500 |
---|---|---|
committer | Nebuleon Fumika | 2013-01-18 02:41:32 -0500 |
commit | bf5cb54162afa5390eab1ae155a9defd44d0f898 (patch) | |
tree | bee1bc56126f6ac5f036ab0169642609a30be06c /source/nds/gcheat.c | |
parent | 5c4e96b326073d411a577fc6a8c03ea1c0a7242e (diff) | |
download | snesemu-bf5cb54162afa5390eab1ae155a9defd44d0f898.tar.gz snesemu-bf5cb54162afa5390eab1ae155a9defd44d0f898.tar.bz2 snesemu-bf5cb54162afa5390eab1ae155a9defd44d0f898.zip |
Fix multiple compiler warnings: forward declaration, implicit declaration, unused variable, variable used uninitialised, unused function (when not used anywhere else with a #define).
Diffstat (limited to 'source/nds/gcheat.c')
-rw-r--r-- | source/nds/gcheat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/nds/gcheat.c b/source/nds/gcheat.c index 6ab4a84..93d89cc 100644 --- a/source/nds/gcheat.c +++ b/source/nds/gcheat.c @@ -59,7 +59,7 @@ int NDSSFCLoadCheatFile(const char* filename) fclose(fp); return -2; } - *ptr++; // Past the comma + ptr++; // Past the comma if (*ptr && *ptr == '"') ptr++; // Starting quote of b. @@ -72,7 +72,7 @@ int NDSSFCLoadCheatFile(const char* filename) return -2; } *ptr = '\0'; // End the codes there - *ptr++; // Past the comma + ptr++; // Past the comma uint32 i = 0; description = ptr; // Skip starting " in description |