From 41b6f579c93a19a340bf061fc7e0a951d712c807 Mon Sep 17 00:00:00 2001 From: riccardom Date: Fri, 12 Mar 2010 14:47:15 +0000 Subject: [PATCH] Remove unused variable and fix signed vs unsigned comparison warning. --- desmume/src/NDSSystem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desmume/src/NDSSystem.cpp b/desmume/src/NDSSystem.cpp index 34bf791d0..e9f907144 100644 --- a/desmume/src/NDSSystem.cpp +++ b/desmume/src/NDSSystem.cpp @@ -445,7 +445,7 @@ int NDS_LoadROM(const char *filename, const char *logicalFilename) int type; ROMReader_struct *reader; void *file; - u32 size, mask; + u32 size; u8 *data; char *noext; char buf[MAX_PATH]; @@ -2284,7 +2284,7 @@ buttonstruct AutoHold; void ClearAutoHold(void) { - for (int i=0; i < ARRAY_SIZE(AutoHold.array); i++) { + for (u32 i=0; i < ARRAY_SIZE(AutoHold.array); i++) { AutoHold.array[i]=false; } }