For UNUSED warning, ignore genvars

This commit is contained in:
Wilson Snyder 2010-12-29 18:10:02 -05:00
parent c33299d542
commit d261c4cd27
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ public:
void reportViolations() {
// Combine bits into overall state
AstVar* nodep = m_varp;
if (!nodep->isParam()) {
if (!nodep->isParam() && !nodep->isGenVar()) {
bool allU=true;
bool allD=true;
bool anyU=m_usedWhole;