From 9e31e3796a04a3348b27248d6aef817237f7138e Mon Sep 17 00:00:00 2001 From: nakeee Date: Tue, 18 Nov 2008 09:47:59 +0000 Subject: [PATCH] fix 2 more warnings git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1209 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DolphinWX/Src/MemoryCards/GCMemcard.cpp | 2 +- Source/Plugins/Plugin_VideoOGL/Src/VertexLoaderManager.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/DolphinWX/Src/MemoryCards/GCMemcard.cpp b/Source/Core/DolphinWX/Src/MemoryCards/GCMemcard.cpp index 930b09f59a..2629be2c2a 100644 --- a/Source/Core/DolphinWX/Src/MemoryCards/GCMemcard.cpp +++ b/Source/Core/DolphinWX/Src/MemoryCards/GCMemcard.cpp @@ -229,7 +229,7 @@ u32 GCMemcard::ImportFile(DEntry& direntry, u8* contents, int remove) } bat_backup.Map[i++] = 0xFFFF; //Set bat.map to 0 for each block that was removed - for (int j = 0; j < remove; j++) + for (int k = 0; k < remove; k++) { bat_backup.Map[i++] = 0x0000; } diff --git a/Source/Plugins/Plugin_VideoOGL/Src/VertexLoaderManager.h b/Source/Plugins/Plugin_VideoOGL/Src/VertexLoaderManager.h index 88611707ed..8af8416474 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/VertexLoaderManager.h +++ b/Source/Plugins/Plugin_VideoOGL/Src/VertexLoaderManager.h @@ -31,7 +31,7 @@ namespace VertexLoaderManager void RunVertices(int vtx_attr_group, int primitive, int count); // TODO - don't expose these like this. - static u8* s_pCurBufferPointer; + // static u8* s_pCurBufferPointer; }; // Might move this into its own file later.