commit
c1dac347b9
|
@ -525,7 +525,7 @@ void CheckOther::checkPipeParameterSize()
|
||||||
|
|
||||||
const Variable *var = varTok->variable();
|
const Variable *var = varTok->variable();
|
||||||
MathLib::bigint dim;
|
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);
|
const std::string strDim = MathLib::longToString(dim);
|
||||||
checkPipeParameterSizeError(varTok,varTok->str(), strDim);
|
checkPipeParameterSizeError(varTok,varTok->str(), strDim);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue