From: Eric Christopher Date: Wed, 17 Dec 2014 22:26:32 +0000 (+0000) Subject: Fix a format string warning by noting that StringIsBreakpointName X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c9d1c27d48eb2a62a4018b97b39d3e85edfef62d;p=platform%2Fupstream%2Fllvm.git 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 --- diff --git a/lldb/source/Commands/CommandObjectBreakpoint.cpp b/lldb/source/Commands/CommandObjectBreakpoint.cpp index 6b9db6a..ca82c4a 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':