From 7c9e4b9a44c60a3b713c2e78418e7a8e82856e5f Mon Sep 17 00:00:00 2001 From: Rene Gollent Date: Tue, 6 Nov 2012 21:57:24 +0100 Subject: [PATCH] Fix gcc2 warning. --- .../user_interface/gui/team_window/WatchPromptWindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apps/debugger/user_interface/gui/team_window/WatchPromptWindow.cpp b/src/apps/debugger/user_interface/gui/team_window/WatchPromptWindow.cpp index 0c81483ea3..2718ce80ff 100644 --- a/src/apps/debugger/user_interface/gui/team_window/WatchPromptWindow.cpp +++ b/src/apps/debugger/user_interface/gui/team_window/WatchPromptWindow.cpp @@ -114,8 +114,8 @@ WatchPromptWindow::MessageReceived(BMessage* message) switch (message->what) { case MSG_SET_WATCHPOINT: { - target_addr_t address; - int32 length; + target_addr_t address = 0; + int32 length = 0; ExpressionParser parser; parser.SetSupportHexInput(true); BString errorMessage;