From 003d5173caf251edcb2a6245f23c5e555ae5d45f Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 27 Apr 2004 18:24:38 +0000 Subject: [PATCH] Fix warning building in optimized mode git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13190 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Bytecode/Reader/InstructionReader.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Bytecode/Reader/InstructionReader.cpp b/lib/Bytecode/Reader/InstructionReader.cpp index d66b12cf0d9..5033a326b60 100644 --- a/lib/Bytecode/Reader/InstructionReader.cpp +++ b/lib/Bytecode/Reader/InstructionReader.cpp @@ -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;