Ticket #4801
This commit is contained in:
parent
d96fb577cd
commit
e37587aed5
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue