[llvm-commits] CVS: llvm/lib/AsmParser/llvmAsmParser.y
Bill Wendling
isanbard at gmail.com
Sun Nov 12 03:10:54 PST 2006
Changes in directory llvm/lib/AsmParser:
llvmAsmParser.y updated: 1.274 -> 1.275
---
Log message:
Initialize some pointers to quiet the compiler (when doing build_gcc
builds).
---
Diffs of the changes: (+2 -2)
llvmAsmParser.y | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/AsmParser/llvmAsmParser.y
diff -u llvm/lib/AsmParser/llvmAsmParser.y:1.274 llvm/lib/AsmParser/llvmAsmParser.y:1.275
--- llvm/lib/AsmParser/llvmAsmParser.y:1.274 Wed Nov 8 00:47:33 2006
+++ llvm/lib/AsmParser/llvmAsmParser.y Sun Nov 12 05:10:39 2006
@@ -2666,8 +2666,8 @@
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<PointerType>($3->get())) ||
!(Ty = dyn_cast<FunctionType>(PFTy->getElementType()))) {
More information about the llvm-commits
mailing list