Fix some Coverity Prevent warnings

git-svn-id: file://localhost/svn/verilator/trunk/verilator@812 77ca24e4-aefa-0310-84f0-b9a241c72d87
This commit is contained in:
Wilson Snyder
2006-10-06 16:08:46 +00:00
parent 956c854662
commit 1c8fd37745
9 changed files with 23 additions and 19 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ private:
nodep->v3error("Arrayed variables may not be inputs nor outputs");
}
if (m_ftaskp) nodep->funcLocal(true);
if (nodep && nodep->isSigPublic()) m_modp->modPublic(true); // Avoid flattening if signals are exposed
if (nodep->isSigPublic()) m_modp->modPublic(true); // Avoid flattening if signals are exposed
}
virtual void visit(AstNodeVarRef* nodep, AstNUser*) {