mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-17 21:29:02 +00:00
Fix (bogus) possibly uninitialized warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6634 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -508,7 +508,7 @@ void Verifier::visitIntrinsicFunctionCall(LLVMIntrinsic::ID ID, CallInst &CI) {
|
|||||||
Function *IF = CI.getCalledFunction();
|
Function *IF = CI.getCalledFunction();
|
||||||
const FunctionType *FT = IF->getFunctionType();
|
const FunctionType *FT = IF->getFunctionType();
|
||||||
Assert1(IF->isExternal(), "Intrinsic functions should never be defined!", IF);
|
Assert1(IF->isExternal(), "Intrinsic functions should never be defined!", IF);
|
||||||
unsigned NumArgs;
|
unsigned NumArgs = 0;
|
||||||
|
|
||||||
switch (ID) {
|
switch (ID) {
|
||||||
case LLVMIntrinsic::va_start:
|
case LLVMIntrinsic::va_start:
|
||||||
|
Reference in New Issue
Block a user