For UNUSED warning, ignore genvars
This commit is contained in:
parent
c33299d542
commit
d261c4cd27
|
|
@ -131,7 +131,7 @@ public:
|
||||||
void reportViolations() {
|
void reportViolations() {
|
||||||
// Combine bits into overall state
|
// Combine bits into overall state
|
||||||
AstVar* nodep = m_varp;
|
AstVar* nodep = m_varp;
|
||||||
if (!nodep->isParam()) {
|
if (!nodep->isParam() && !nodep->isGenVar()) {
|
||||||
bool allU=true;
|
bool allU=true;
|
||||||
bool allD=true;
|
bool allD=true;
|
||||||
bool anyU=m_usedWhole;
|
bool anyU=m_usedWhole;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue