diff options
| author | hrydgard <hrydgard@gmail.com> | 2008-09-14 09:12:19 +0000 |
|---|---|---|
| committer | hrydgard <hrydgard@gmail.com> | 2008-09-14 09:12:19 +0000 |
| commit | a56fcd4e981802f82b2dfadd125061d49ef8b104 (patch) | |
| tree | 459b53d2e1ff8c9fcf2deec75635c45333dc58c3 /Source/Core/DebuggerWX/src | |
| parent | 0ba3948c427c2588d1b1bb143183738da9662bae (diff) | |
Fixed some valgrind warnings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@523 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DebuggerWX/src')
| -rw-r--r-- | Source/Core/DebuggerWX/src/CodeView.cpp | 13 | ||||
| -rw-r--r-- | Source/Core/DebuggerWX/src/MemoryView.cpp | 10 |
2 files changed, 21 insertions, 2 deletions
diff --git a/Source/Core/DebuggerWX/src/CodeView.cpp b/Source/Core/DebuggerWX/src/CodeView.cpp index 26e0d10a8e..c7bafae1e1 100644 --- a/Source/Core/DebuggerWX/src/CodeView.cpp +++ b/Source/Core/DebuggerWX/src/CodeView.cpp @@ -59,11 +59,22 @@ BEGIN_EVENT_TABLE(CCodeView, wxControl) END_EVENT_TABLE()
CCodeView::CCodeView(DebugInterface* debuginterface, wxWindow* parent, wxWindowID Id, const wxSize& Size)
- : wxControl(parent, Id, wxDefaultPosition, Size), debugger(debuginterface)
+ : wxControl(parent, Id, wxDefaultPosition, Size),
+ debugger(debuginterface),
+ rowHeight(13),
+ selection(0),
+ oldSelection(0),
+ selectionChanged(false),
+ selecting(false),
+ hasFocus(false),
+ showHex(false),
+ lx(-1),
+ ly(-1)
{
rowHeight = 13;
align = debuginterface->getInstructionSize(0);
curAddress = debuginterface->getPC();
+ selection = 0;
}
diff --git a/Source/Core/DebuggerWX/src/MemoryView.cpp b/Source/Core/DebuggerWX/src/MemoryView.cpp index d6ffd0a9b0..a492d64027 100644 --- a/Source/Core/DebuggerWX/src/MemoryView.cpp +++ b/Source/Core/DebuggerWX/src/MemoryView.cpp @@ -46,7 +46,15 @@ EVT_MENU(-1, CMemoryView::OnPopupMenu) END_EVENT_TABLE()
CMemoryView::CMemoryView(DebugInterface* debuginterface, wxWindow* parent, wxWindowID Id, const wxSize& Size)
- : wxControl(parent, Id, wxDefaultPosition, Size), debugger(debuginterface)
+ : wxControl(parent, Id, wxDefaultPosition, Size),
+ debugger(debuginterface),
+ rowHeight(13),
+ selection(0),
+ oldSelection(0),
+ selectionChanged(false),
+ selecting(false),
+ hasFocus(false),
+ showHex(false)
{
rowHeight = 13;
align = debuginterface->getInstructionSize(0);
|
