aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-02-11 19:12:18 +0000
committerChris Lattner <sabre@nondot.org>2007-02-11 19:12:18 +0000
commitea7acb859111a7f55c497e0b7cf569ac81e97208 (patch)
tree69ca668a033979746417d44e4b3545d473cc6283
parent360cac8fef34b4671f27ef52674a41e29154ddc7 (diff)
fix uninitialized variable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34182 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/VMCore/Value.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/VMCore/Value.cpp b/lib/VMCore/Value.cpp
index 30ca5c35b5..17610f9bc7 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<Instruction>(V)) {
if (BasicBlock *P = I->getParent())
if (Function *PP = P->getParent())