summaryrefslogtreecommitdiff
path: root/Source/Core/DebuggerWX
diff options
context:
space:
mode:
authornakeee <nakeee@gmail.com>2008-09-01 12:11:08 +0000
committernakeee <nakeee@gmail.com>2008-09-01 12:11:08 +0000
commit4bbfff3cac6d4f435df2de125c96f1f08f44463f (patch)
treee9f64dc9932f62645e9a6387d48ac27dd2cd673d /Source/Core/DebuggerWX
parentcad45aea724b8addacce18e99eec8bc4a170cbb2 (diff)
many warning fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@422 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DebuggerWX')
-rw-r--r--Source/Core/DebuggerWX/src/CodeView.cpp4
-rw-r--r--Source/Core/DebuggerWX/src/CodeWindow.cpp1
-rw-r--r--Source/Core/DebuggerWX/src/MemoryView.cpp4
3 files changed, 4 insertions, 5 deletions
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;
}