Fix (bogus) possibly uninitialized warning
authorChris Lattner <sabre@nondot.org>
Thu, 5 Jun 2003 21:01:26 +0000 (21:01 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 5 Jun 2003 21:01:26 +0000 (21:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6634 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/Verifier.cpp

index 54f8f050141c86e4efcd3086221225d052ca1b29..be839ab1687930dee4080c4f5692d376c60379e5 100644 (file)
@@ -508,7 +508,7 @@ void Verifier::visitIntrinsicFunctionCall(LLVMIntrinsic::ID ID, CallInst &CI) {
   Function *IF = CI.getCalledFunction();
   const FunctionType *FT = IF->getFunctionType();
   Assert1(IF->isExternal(), "Intrinsic functions should never be defined!", IF);
-  unsigned NumArgs;
+  unsigned NumArgs = 0;
 
   switch (ID) {
   case LLVMIntrinsic::va_start: