commit | 003d5173caf251edcb2a6245f23c5e555ae5d45f | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Tue Apr 27 18:24:38 2004 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Tue Apr 27 18:24:38 2004 +0000 |
tree | 636abcb9a80ac6d8c0e55c2e784705457664bc69 | |
parent | 0ebf428e48ab258012d94d8efa05a4ae5932e2db [diff] [blame] |
Fix warning building in optimized mode git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13190 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Bytecode/Reader/InstructionReader.cpp b/lib/Bytecode/Reader/InstructionReader.cpp index d66b12c..5033a32 100644 --- a/lib/Bytecode/Reader/InstructionReader.cpp +++ b/lib/Bytecode/Reader/InstructionReader.cpp
@@ -319,6 +319,7 @@ IdxTy = Type::UIntTyID; else { switch (ValIdx & 3) { + default: case 0: IdxTy = Type::UIntTyID; break; case 1: IdxTy = Type::IntTyID; break; case 2: IdxTy = Type::ULongTyID; break;