From 4bbfff3cac6d4f435df2de125c96f1f08f44463f Mon Sep 17 00:00:00 2001 From: nakeee Date: Mon, 1 Sep 2008 12:11:08 +0000 Subject: many warning fixes git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@422 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DebuggerWX/src/CodeView.cpp | 4 ++-- Source/Core/DebuggerWX/src/CodeWindow.cpp | 1 - Source/Core/DebuggerWX/src/MemoryView.cpp | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) (limited to 'Source/Core/DebuggerWX/src') diff --git a/Source/Core/DebuggerWX/src/CodeView.cpp b/Source/Core/DebuggerWX/src/CodeView.cpp index aabe51378d..26e0d10a8e 100644 --- a/Source/Core/DebuggerWX/src/CodeView.cpp +++ b/Source/Core/DebuggerWX/src/CodeView.cpp @@ -395,13 +395,13 @@ void CCodeView::OnPaint(wxPaintEvent& event) if (mojs) { - for (int i = 0; i < 8; i++) + for (int k = 0; k < 8; k++) { bool found = false; for (int j = 0; j < 22; j++) { - if (mojs[i + 2] == "0123456789ABCDEFabcdef"[j]) + if (mojs[k + 2] == "0123456789ABCDEFabcdef"[j]) { found = true; } diff --git a/Source/Core/DebuggerWX/src/CodeWindow.cpp b/Source/Core/DebuggerWX/src/CodeWindow.cpp index e084dfbf6b..b9c78d6e80 100644 --- a/Source/Core/DebuggerWX/src/CodeWindow.cpp +++ b/Source/Core/DebuggerWX/src/CodeWindow.cpp @@ -645,7 +645,6 @@ void CCodeWindow::OnSymbolListChange(wxCommandEvent& event) void CCodeWindow::OnSymbolListContextMenu(wxContextMenuEvent& event) { - int index = symbols->GetSelection(); } diff --git a/Source/Core/DebuggerWX/src/MemoryView.cpp b/Source/Core/DebuggerWX/src/MemoryView.cpp index 7decb67b80..cec77bb559 100644 --- a/Source/Core/DebuggerWX/src/MemoryView.cpp +++ b/Source/Core/DebuggerWX/src/MemoryView.cpp @@ -311,13 +311,13 @@ void CMemoryView::OnPaint(wxPaintEvent& event) if (mojs) { - for (int i = 0; i < 8; i++) + for (int k = 0; k < 8; k++) { bool found = false; for (int j = 0; j < 22; j++) { - if (mojs[i + 2] == "0123456789ABCDEFabcdef"[j]) + if (mojs[k + 2] == "0123456789ABCDEFabcdef"[j]) { found = true; } -- cgit v1.2.3