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); }