mirror of
https://github.com/intel/llvm.git
synced 2026-01-20 10:58:11 +08:00
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
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user