From 23f59509a8790b04c691ec063c55724a3bfee7eb Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Tue, 17 Jul 2012 03:23:13 +0000 Subject: Ran the static analyzer on the codebase and found a few things. llvm-svn: 160338 --- lldb/source/Commands/CommandObjectBreakpointCommand.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'lldb/source/Commands/CommandObjectBreakpointCommand.cpp') diff --git a/lldb/source/Commands/CommandObjectBreakpointCommand.cpp b/lldb/source/Commands/CommandObjectBreakpointCommand.cpp index 2df3ac3a9d3..e8425599cc1 100644 --- a/lldb/source/Commands/CommandObjectBreakpointCommand.cpp +++ b/lldb/source/Commands/CommandObjectBreakpointCommand.cpp @@ -864,7 +864,6 @@ CommandObjectBreakpointCommand::CommandObjectBreakpointCommand (CommandInterpret "A set of commands for adding, removing and examining bits of code to be executed when the breakpoint is hit (breakpoint 'commmands').", "command [] ") { - bool status; CommandObjectSP add_command_object (new CommandObjectBreakpointCommandAdd (interpreter)); CommandObjectSP delete_command_object (new CommandObjectBreakpointCommandDelete (interpreter)); CommandObjectSP list_command_object (new CommandObjectBreakpointCommandList (interpreter)); @@ -873,9 +872,9 @@ CommandObjectBreakpointCommand::CommandObjectBreakpointCommand (CommandInterpret delete_command_object->SetCommandName ("breakpoint command delete"); list_command_object->SetCommandName ("breakpoint command list"); - status = LoadSubCommand ("add", add_command_object); - status = LoadSubCommand ("delete", delete_command_object); - status = LoadSubCommand ("list", list_command_object); + LoadSubCommand ("add", add_command_object); + LoadSubCommand ("delete", delete_command_object); + LoadSubCommand ("list", list_command_object); } CommandObjectBreakpointCommand::~CommandObjectBreakpointCommand () -- cgit v1.2.3