Merge pull request #21247 from rogday:coverity_fix

This commit is contained in:
Alexander Alekhin 2021-12-13 17:16:03 +00:00
commit ba12f52f6c

View File

@ -1390,7 +1390,8 @@ struct MinMaxLocOp : public BaseElemWiseOp
struct reduceArgMinMaxOp : public BaseElemWiseOp
{
reduceArgMinMaxOp() : BaseElemWiseOp(1, FIX_ALPHA+FIX_BETA+FIX_GAMMA, 1, 1, Scalar::all(0))
reduceArgMinMaxOp() : BaseElemWiseOp(1, FIX_ALPHA+FIX_BETA+FIX_GAMMA, 1, 1, Scalar::all(0)),
isLast(false), isMax(false), axis(0)
{
context = ARITHM_MAX_NDIMS*2 + 2;
};