Remove unused variable and fix signed vs unsigned

comparison warning.
This commit is contained in:
riccardom 2010-03-12 14:47:15 +00:00
parent 2ecd8e296b
commit 41b6f579c9
1 changed files with 2 additions and 2 deletions

View File

@ -445,7 +445,7 @@ int NDS_LoadROM(const char *filename, const char *logicalFilename)
int type; int type;
ROMReader_struct *reader; ROMReader_struct *reader;
void *file; void *file;
u32 size, mask; u32 size;
u8 *data; u8 *data;
char *noext; char *noext;
char buf[MAX_PATH]; char buf[MAX_PATH];
@ -2284,7 +2284,7 @@ buttonstruct<bool> AutoHold;
void ClearAutoHold(void) { 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; AutoHold.array[i]=false;
} }
} }