mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
Fixed some issues found by static analysis (4th round)
This commit is contained in:
@@ -2600,6 +2600,7 @@ cvDrawContours( void* _img, CvSeq* contour,
|
||||
void* clr = (contour->flags & CV_SEQ_FLAG_HOLE) == 0 ? ext_buf : hole_buf;
|
||||
|
||||
cvStartReadSeq( contour, &reader, 0 );
|
||||
CV_Assert(reader.ptr != NULL);
|
||||
if( thickness < 0 )
|
||||
pts.resize(0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user