[llvm-commits] CVS: llvm/lib/AsmParser/llvmAsmParser.y
Chris Lattner
lattner at cs.uiuc.edu
Fri Aug 20 11:07:51 PDT 2004
Changes in directory llvm/lib/AsmParser:
llvmAsmParser.y updated: 1.198 -> 1.199
---
Log message:
quish a warning
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/AsmParser/llvmAsmParser.y
diff -u llvm/lib/AsmParser/llvmAsmParser.y:1.198 llvm/lib/AsmParser/llvmAsmParser.y:1.199
--- llvm/lib/AsmParser/llvmAsmParser.y:1.198 Fri Aug 20 01:00:57 2004
+++ llvm/lib/AsmParser/llvmAsmParser.y Fri Aug 20 13:07:39 2004
@@ -1370,7 +1370,7 @@
if (!isa<PointerType>($3->getType())) {
$$ = ConstantExpr::get($1, $3, $5);
} else {
- const Type *IntPtrTy;
+ const Type *IntPtrTy = 0;
switch (CurModule.CurrentModule->getPointerSize()) {
case Module::Pointer32: IntPtrTy = Type::IntTy; break;
case Module::Pointer64: IntPtrTy = Type::LongTy; break;
More information about the llvm-commits
mailing list