[llvm-commits] CVS: llvm/lib/VMCore/Verifier.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Jun 5 16:02:02 PDT 2003
Changes in directory llvm/lib/VMCore:
Verifier.cpp updated: 1.50 -> 1.51
---
Log message:
Fix (bogus) possibly uninitialized warning
---
Diffs of the changes:
Index: llvm/lib/VMCore/Verifier.cpp
diff -u llvm/lib/VMCore/Verifier.cpp:1.50 llvm/lib/VMCore/Verifier.cpp:1.51
--- llvm/lib/VMCore/Verifier.cpp:1.50 Sat May 17 17:26:33 2003
+++ llvm/lib/VMCore/Verifier.cpp Thu Jun 5 16:01:26 2003
@@ -508,7 +508,7 @@
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:
More information about the llvm-commits
mailing list