From c9d1c27d48eb2a62a4018b97b39d3e85edfef62d Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Wed, 17 Dec 2014 22:26:32 +0000 Subject: [PATCH] Fix a format string warning by noting that StringIsBreakpointName will set the error accordingly and so there's no need to set it again. llvm-svn: 224468 --- lldb/source/Commands/CommandObjectBreakpoint.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/lldb/source/Commands/CommandObjectBreakpoint.cpp b/lldb/source/Commands/CommandObjectBreakpoint.cpp index 6b9db6ae85e7..ca82c4ab5d65 100644 --- a/lldb/source/Commands/CommandObjectBreakpoint.cpp +++ b/lldb/source/Commands/CommandObjectBreakpoint.cpp @@ -245,8 +245,6 @@ public: case 'N': if (BreakpointID::StringIsBreakpointName(option_arg, error)) m_breakpoint_names.push_back (option_arg); - else - error.SetErrorStringWithFormat(error.AsCString()); break; case 'o':