From bf5cb54162afa5390eab1ae155a9defd44d0f898 Mon Sep 17 00:00:00 2001 From: Nebuleon Fumika Date: Fri, 18 Jan 2013 02:41:32 -0500 Subject: Fix multiple compiler warnings: forward declaration, implicit declaration, unused variable, variable used uninitialised, unused function (when not used anywhere else with a #define). --- source/nds/gcheat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/nds/gcheat.c') 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 -- cgit v1.2.3