commit | f011b7dfe68a83ec9e14072e7eb945ad80eddac4 | [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 | fa377a0f29c1f3a928d80b539bc049b320dad6a1 | |
parent | f1c9593a90cbd712fb02562e6bf6106ef2de8dbc [diff] [blame] |
Fix warning building in optimized mode llvm-svn: 13190
diff --git a/llvm/lib/Bytecode/Reader/InstructionReader.cpp b/llvm/lib/Bytecode/Reader/InstructionReader.cpp index d66b12c..5033a32 100644 --- a/llvm/lib/Bytecode/Reader/InstructionReader.cpp +++ b/llvm/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;