From c625606f452f479f9ccbaa9d38be2432b2f0978f Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Fri, 14 Mar 2014 15:56:40 +0100 Subject: [PATCH] Remove redundant code --- lib/check64bit.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/check64bit.cpp b/lib/check64bit.cpp index 34cfbb511..9ab03e7f0 100644 --- a/lib/check64bit.cpp +++ b/lib/check64bit.cpp @@ -74,10 +74,7 @@ void Check64BitPortability::pointerassignment() type = INT; else if (type == PTR && Token::Match(tok2, "- %var%") && isaddr(tok2->next()->variable())) type = PTRDIFF; - else if (Token::Match(tok2, "(")) { - type = NO; - break; - } else if (tok2->str() == "(") { + else if (tok2->str() == "(") { // TODO: handle parentheses type = NO; break;