From ea7acb859111a7f55c497e0b7cf569ac81e97208 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 11 Feb 2007 19:12:18 +0000 Subject: [PATCH] fix uninitialized variable git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34182 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/Value.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/VMCore/Value.cpp b/lib/VMCore/Value.cpp index 30ca5c35b5f..17610f9bc78 100644 --- a/lib/VMCore/Value.cpp +++ b/lib/VMCore/Value.cpp @@ -93,6 +93,7 @@ unsigned Value::getNumUses() const { } static bool getSymTab(Value *V, ValueSymbolTable *&ST) { + ST = 0; if (Instruction *I = dyn_cast(V)) { if (BasicBlock *P = I->getParent()) if (Function *PP = P->getParent()) -- 2.11.0