aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectBreakpoint.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-12-17 22:26:32 +0000
committerEric Christopher <echristo@gmail.com>2014-12-17 22:26:32 +0000
commitc9d1c27d48eb2a62a4018b97b39d3e85edfef62d (patch)
tree196cfbcb82c53dc62cf28567af5413408656cfaa /lldb/source/Commands/CommandObjectBreakpoint.cpp
parentf70824428e3ce27f75361b6050236d7d2af37ff7 (diff)
downloadllvm-c9d1c27d48eb2a62a4018b97b39d3e85edfef62d.zip
llvm-c9d1c27d48eb2a62a4018b97b39d3e85edfef62d.tar.gz
llvm-c9d1c27d48eb2a62a4018b97b39d3e85edfef62d.tar.bz2
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
Diffstat (limited to 'lldb/source/Commands/CommandObjectBreakpoint.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectBreakpoint.cpp2
1 files changed, 0 insertions, 2 deletions
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':