Fix some MSVC++ warnings

This commit is contained in:
Wilson Snyder
2010-01-24 20:53:24 -05:00
parent cbc90e7ffb
commit f71749c3c4
13 changed files with 28 additions and 18 deletions
+3 -2
View File
@@ -89,10 +89,11 @@ private:
// METHODS
V3SymTable* symsFindNew(AstNode* nodep, V3SymTable* upperVarsp) {
// Find or create symbol table for this node
if (V3SymTable* symsp = nodep->user4p()->castSymTable()) {
V3SymTable* symsp = nodep->user4p()->castSymTable();
if (symsp) {
return symsp;
} else {
V3SymTable* symsp = new V3SymTable(nodep, upperVarsp);
symsp = new V3SymTable(nodep, upperVarsp);
m_delSymps.push_back(symsp);
nodep->user4p(symsp);
return symsp;