From b39a55a2e7921b4ee147b068aa70a13c463481ae Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Sun, 12 Nov 2006 11:10:39 +0000 Subject: [PATCH] Initialize some pointers to quiet the compiler (when doing build_gcc builds). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31694 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/AsmParser/llvmAsmParser.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/AsmParser/llvmAsmParser.y b/lib/AsmParser/llvmAsmParser.y index 4611262b012..f9a090a1634 100644 --- a/lib/AsmParser/llvmAsmParser.y +++ b/lib/AsmParser/llvmAsmParser.y @@ -2666,8 +2666,8 @@ InstVal : ArithmeticOps Types ValueRef ',' ValueRef { CHECK_FOR_ERROR } | OptTailCall OptCallingConv TypesV ValueRef '(' ValueRefListE ')' { - const PointerType *PFTy; - const FunctionType *Ty; + const PointerType *PFTy = 0; + const FunctionType *Ty = 0; if (!(PFTy = dyn_cast($3->get())) || !(Ty = dyn_cast(PFTy->getElementType()))) { -- 2.34.1