mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
Fixed several issues found by static analysis
This commit is contained in:
@@ -2547,6 +2547,7 @@ cvSetAdd( CvSet* set, CvSetElem* element, CvSetElem** inserted_element )
|
||||
CV_IMPL void
|
||||
cvSetRemove( CvSet* set, int index )
|
||||
{
|
||||
CV_Assert(set != NULL);
|
||||
CvSetElem* elem = cvGetSetElem( set, index );
|
||||
if( elem )
|
||||
cvSetRemoveByPtr( set, elem );
|
||||
|
||||
Reference in New Issue
Block a user