aboutsummaryrefslogtreecommitdiff
path: root/source/nds/gcheat.c
diff options
context:
space:
mode:
authorNebuleon Fumika2013-01-18 02:41:32 -0500
committerNebuleon Fumika2013-01-18 02:41:32 -0500
commitbf5cb54162afa5390eab1ae155a9defd44d0f898 (patch)
treebee1bc56126f6ac5f036ab0169642609a30be06c /source/nds/gcheat.c
parent5c4e96b326073d411a577fc6a8c03ea1c0a7242e (diff)
downloadsnes9x2005-bf5cb54162afa5390eab1ae155a9defd44d0f898.tar.gz
snes9x2005-bf5cb54162afa5390eab1ae155a9defd44d0f898.tar.bz2
snes9x2005-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.c4
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