summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2015-10-08 03:21:29 +0000
committerRui Ueyama <ruiu@google.com>2015-10-08 03:21:29 +0000
commit10c415fd630c2010a5d884a81b36d0f96ffdb574 (patch)
treef457095c43322738c66e03a3f6f1621df46f466a
parenta552480298c7774ecaabcef34f8025f5d16fa31d (diff)
downloadbcm5719-llvm-10c415fd630c2010a5d884a81b36d0f96ffdb574.tar.gz
bcm5719-llvm-10c415fd630c2010a5d884a81b36d0f96ffdb574.zip
Remove a default which immediately breaks.
getID()'s return type is unsigned int, so I don't think we need this default for -Wswitch-enum. llvm-svn: 249650
-rw-r--r--lld/ELF/Driver.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lld/ELF/Driver.cpp b/lld/ELF/Driver.cpp
index 8641bbae149..aee2a1e9868 100644
--- a/lld/ELF/Driver.cpp
+++ b/lld/ELF/Driver.cpp
@@ -206,8 +206,6 @@ void LinkerDriver::link(ArrayRef<const char *> ArgsArr) {
case OPT_no_whole_archive:
Config->WholeArchive = false;
break;
- default:
- break;
}
}
OpenPOWER on IntegriCloud