From: Dan Gohman Date: Tue, 4 Nov 2008 16:08:57 +0000 (+0000) Subject: Add a return statement to suppress warnings in NDEBUG builds. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1f5d212ca720b4e82c14c79c4a96b6ccc4fc3307;p=oota-llvm.git Add a return statement to suppress warnings in NDEBUG builds. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58702 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/VMCore/ValueTypes.cpp b/lib/VMCore/ValueTypes.cpp index d02a538eb24..22449f9040a 100644 --- a/lib/VMCore/ValueTypes.cpp +++ b/lib/VMCore/ValueTypes.cpp @@ -71,6 +71,7 @@ unsigned MVT::getExtendedSizeInBits() const { if (const VectorType *VTy = dyn_cast(LLVMTy)) return VTy->getBitWidth(); assert(false && "Unrecognized extended type!"); + return 0; // Suppress warnings. } /// getMVTString - This function returns value type as a string, e.g. "i32".