Fix warning building in optimized mode
authorChris Lattner <sabre@nondot.org>
Tue, 27 Apr 2004 18:24:38 +0000 (18:24 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 27 Apr 2004 18:24:38 +0000 (18:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13190 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Bytecode/Reader/InstructionReader.cpp

index d66b12cf0d95a0bdfebb457712b390bc3cf5b6c6..5033a326b601e27fda098b9dcd3cbc7b91400c0d 100644 (file)
@@ -319,6 +319,7 @@ void BytecodeParser::ParseInstruction(const unsigned char *&Buf,
           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;