From e37587aed5b62553e34ed18c8c056a50f773b965 Mon Sep 17 00:00:00 2001 From: Roman Zaytsev Borisovich Date: Tue, 2 Jul 2013 15:28:44 +0400 Subject: [PATCH] Ticket #4801 --- lib/checkother.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/checkother.cpp b/lib/checkother.cpp index 2906ca191..b7fc9b75a 100644 --- a/lib/checkother.cpp +++ b/lib/checkother.cpp @@ -525,7 +525,7 @@ void CheckOther::checkPipeParameterSize() const Variable *var = varTok->variable(); MathLib::bigint dim; - if (var && (var->isArray() || var->isPointer()) && !var->isArgument() && ((dim=var->dimension(0U)) < 2)) { + if (var && var->isArray() && !var->isArgument() && ((dim=var->dimension(0U)) < 2)) { const std::string strDim = MathLib::longToString(dim); checkPipeParameterSizeError(varTok,varTok->str(), strDim); }