Squelch warning


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8659 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/ExecutionEngine/Interpreter/Interpreter.cpp b/lib/ExecutionEngine/Interpreter/Interpreter.cpp
index 518290a..4bb317d 100644
--- a/lib/ExecutionEngine/Interpreter/Interpreter.cpp
+++ b/lib/ExecutionEngine/Interpreter/Interpreter.cpp
@@ -14,7 +14,7 @@
 /// create - Create a new interpreter object.  This can never fail.
 ///
 ExecutionEngine *Interpreter::create(Module *M, bool TraceMode){
-  bool isLittleEndian;
+  bool isLittleEndian = false;
   switch (M->getEndianness()) {
   case Module::LittleEndian: isLittleEndian = true; break;
   case Module::BigEndian:    isLittleEndian = false; break;
@@ -25,7 +25,7 @@
     break;
   }
 
-  bool isLongPointer;
+  bool isLongPointer = false;
   switch (M->getPointerSize()) {
   case Module::Pointer32: isLongPointer = false; break;
   case Module::Pointer64: isLongPointer = true; break;
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp
index 787c1a5..e69db1d 100644
--- a/lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/lib/Transforms/Scalar/InstructionCombining.cpp
@@ -707,7 +707,7 @@
     case Instruction::And: Code = LHSCode & RHSCode; break;
     case Instruction::Or:  Code = LHSCode | RHSCode; break;
     case Instruction::Xor: Code = LHSCode ^ RHSCode; break;
-    default: assert(0 && "Illegal logical opcode!");
+    default: assert(0 && "Illegal logical opcode!"); return 0;
     }
 
     Value *RV = getSetCCValue(Code, LHS, RHS);