fix uninitialized variable

llvm-svn: 34182
This commit is contained in:
Chris Lattner 2007-02-11 19:12:18 +00:00
parent 9521fec8cf
commit 569c8acfe3
1 changed files with 1 additions and 0 deletions

View File

@ -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())