diff options
author | Eric Christopher <echristo@gmail.com> | 2014-12-17 22:26:32 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2014-12-17 22:26:32 +0000 |
commit | c9d1c27d48eb2a62a4018b97b39d3e85edfef62d (patch) | |
tree | 196cfbcb82c53dc62cf28567af5413408656cfaa /lldb/source/Commands/CommandObjectBreakpoint.cpp | |
parent | f70824428e3ce27f75361b6050236d7d2af37ff7 (diff) | |
download | llvm-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.cpp | 2 |
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': |