summaryrefslogtreecommitdiffstats
path: root/llvm
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
commit569c8acfe35b2ec40cf20aef8dc6c18955af407a (patch)
treef170bfca7164cbcaca1e4f31ff9d65868837d06c /llvm
parent9521fec8cff196d0273cce085a1baab3c221b7b7 (diff)
downloadbcm5719-llvm-569c8acfe35b2ec40cf20aef8dc6c18955af407a.tar.gz
bcm5719-llvm-569c8acfe35b2ec40cf20aef8dc6c18955af407a.zip
fix uninitialized variable
llvm-svn: 34182
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/VMCore/Value.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/VMCore/Value.cpp b/llvm/lib/VMCore/Value.cpp
index 30ca5c35b5f..17610f9bc78 100644
--- a/llvm/lib/VMCore/Value.cpp
+++ b/llvm/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())
OpenPOWER on IntegriCloud