temporarily hide gcc warnings

This commit is contained in:
Daniel Marjamäki 2014-01-21 21:17:03 +01:00
parent a27ccbd0f8
commit 2b7a991c1a
1 changed files with 4 additions and 0 deletions

View File

@ -434,6 +434,10 @@ static void valueFlowBeforeCondition(TokenList *tokenlist, ErrorLogger *errorLog
static void valueFlowAfterAssign(TokenList *tokenlist, ErrorLogger *errorLogger, const Settings *settings)
{
// temporarily hide compiler warnings
(void)errorLogger;
(void)settings;
for (Token *tok = tokenlist->front(); tok; tok = tok->next()) {
// Assignment
if ((tok->str() != "=") || (tok->astParent()))