aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2012-01-23 22:37:11 +0000
committerDavid Blaikie <dblaikie@gmail.com>2012-01-23 22:37:11 +0000
commitd0278d529b624fb93ec89da21836ea6f436e1b1e (patch)
tree85da1462b50310e6065e8eb824ace476b2c5fe84 /lib/Support/CommandLine.cpp
parentf2d213745e07e884c1616f2f3d0b78f9e918e5db (diff)
Remove dead default.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148738 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/CommandLine.cpp')
-rw-r--r--lib/Support/CommandLine.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Support/CommandLine.cpp b/lib/Support/CommandLine.cpp
index d1f9fad8dd..5ee0569757 100644
--- a/lib/Support/CommandLine.cpp
+++ b/lib/Support/CommandLine.cpp
@@ -882,7 +882,6 @@ bool Option::addOccurrence(unsigned pos, StringRef ArgName,
case OneOrMore:
case ZeroOrMore:
case ConsumeAfter: break;
- default: return error("bad num occurrences flag value!");
}
return handleOccurrence(pos, ArgName, Value);