From 9783301b9dc88a1c65085bf84314b30b9c2d4e53 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 5 Jun 2003 21:01:26 +0000 Subject: [PATCH] Fix (bogus) possibly uninitialized warning git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6634 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/Verifier.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/VMCore/Verifier.cpp b/lib/VMCore/Verifier.cpp index 54f8f050141..be839ab1687 100644 --- a/lib/VMCore/Verifier.cpp +++ b/lib/VMCore/Verifier.cpp @@ -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: