Fix wierd idiom
authorChris Lattner <sabre@nondot.org>
Mon, 21 Apr 2003 22:43:32 +0000 (22:43 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 21 Apr 2003 22:43:32 +0000 (22:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5831 91177308-0d34-0410-b5e6-96231b3b80d8

lib/ExecutionEngine/Interpreter/Execution.cpp

index 1ab065e96125223d0db1638b3b6a5570b3e334a0..ff62ac849655b70a1ac0f516113b85741687f949 100644 (file)
@@ -111,7 +111,7 @@ static GenericValue getOperandValue(Value *V, ExecutionContext &SF) {
     default:
       cerr << "Unhandled ConstantExpr: " << CE << "\n";
       abort();
-      { GenericValue V; return V; }
+      return GenericValue();
     }
   } else if (Constant *CPV = dyn_cast<Constant>(V)) {
     return TheEE->getConstantValue(CPV);