From 97005d7d877a2a078da21d9c9081bae664300445 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 30 Aug 2014 19:23:31 +0200 Subject: [PATCH] remove redundant declaration of isSameExpression. fixes gcc compiler warning. --- lib/checkcondition.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/checkcondition.cpp b/lib/checkcondition.cpp index 83c606810..a131b3a01 100644 --- a/lib/checkcondition.cpp +++ b/lib/checkcondition.cpp @@ -252,8 +252,6 @@ void CheckCondition::comparisonError(const Token *tok, const std::string &bitop, reportError(tok, Severity::style, "comparisonError", errmsg); } -extern bool isSameExpression(const Token *tok1, const Token *tok2, const std::set &constFunctions); - static bool isOverlappingCond(const Token * const cond1, const Token * const cond2, const std::set &constFunctions) { if (!cond1 || !cond2)