Internals: Fix GCC8 cppcheck warnings. No functional change.

This commit is contained in:
Wilson Snyder
2018-02-07 20:16:53 -05:00
parent 32859d9fc2
commit 22573d238b
15 changed files with 24 additions and 21 deletions
+1
View File
@@ -66,6 +66,7 @@ protected:
int m_stdFuncAsn:1; // Found simple assignment
int m_done:1; // Removed
};
// cppcheck-suppress unusedStructMember
uint32_t m_flags;
VarFlags(AstNode* nodep) { m_flags = nodep->user2(); }
void setNodeFlags(AstNode* nodep) { nodep->user2(m_flags); }