diff options
author | David Blaikie <dblaikie@gmail.com> | 2012-01-10 16:47:17 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2012-01-10 16:47:17 +0000 |
commit | 2bd335470f8939782f3df7f6180282d3825d4f09 (patch) | |
tree | bd27d519e0b2bf705a91e00e029042feee20211d /include/llvm/Bitcode/BitCodes.h | |
parent | 6c0366cb2588ae49ef6e2f892db2099d41d85391 (diff) |
Remove unnecessary default cases in switches that cover all enum values.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147855 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Bitcode/BitCodes.h')
-rw-r--r-- | include/llvm/Bitcode/BitCodes.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/llvm/Bitcode/BitCodes.h b/include/llvm/Bitcode/BitCodes.h index 449dc35d7d..fdaec57b51 100644 --- a/include/llvm/Bitcode/BitCodes.h +++ b/include/llvm/Bitcode/BitCodes.h @@ -114,7 +114,6 @@ public: bool hasEncodingData() const { return hasEncodingData(getEncoding()); } static bool hasEncodingData(Encoding E) { switch (E) { - default: assert(0 && "Unknown encoding"); case Fixed: case VBR: return true; |