[llvm-commits] [llvm] r148738 - /llvm/trunk/lib/Support/CommandLine.cpp
David Blaikie
dblaikie at gmail.com
Mon Jan 23 14:37:11 PST 2012
Author: dblaikie
Date: Mon Jan 23 16:37:11 2012
New Revision: 148738
URL: http://llvm.org/viewvc/llvm-project?rev=148738&view=rev
Log:
Remove dead default.
Modified:
llvm/trunk/lib/Support/CommandLine.cpp
Modified: llvm/trunk/lib/Support/CommandLine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/CommandLine.cpp?rev=148738&r1=148737&r2=148738&view=diff
==============================================================================
--- llvm/trunk/lib/Support/CommandLine.cpp (original)
+++ llvm/trunk/lib/Support/CommandLine.cpp Mon Jan 23 16:37:11 2012
@@ -882,7 +882,6 @@
case OneOrMore:
case ZeroOrMore:
case ConsumeAfter: break;
- default: return error("bad num occurrences flag value!");
}
return handleOccurrence(pos, ArgName, Value);
More information about the llvm-commits
mailing list