diff options
author | Chris Lattner <sabre@nondot.org> | 2007-02-11 19:12:18 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-02-11 19:12:18 +0000 |
commit | 569c8acfe35b2ec40cf20aef8dc6c18955af407a (patch) | |
tree | f170bfca7164cbcaca1e4f31ff9d65868837d06c /llvm | |
parent | 9521fec8cff196d0273cce085a1baab3c221b7b7 (diff) | |
download | bcm5719-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.cpp | 1 |
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()) |