mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 23:33:05 +04:00
Fixed issues found by static analysis (mostly DBZ)
This commit is contained in:
@@ -599,7 +599,7 @@ cvSetImagesForHaarClassifierCascade( CvHaarClassifierCascade* _cascade,
|
||||
else
|
||||
sum0 += hidfeature->rect[k].weight * tr.width * tr.height;
|
||||
}
|
||||
|
||||
CV_Assert(area0 > 0);
|
||||
hidfeature->rect[0].weight = (float)(-sum0/area0);
|
||||
} /* l */
|
||||
} /* j */
|
||||
|
||||
Reference in New Issue
Block a user