Fixed several issues found by static analysis

This commit is contained in:
Maksim Shabunin
2017-06-28 16:26:55 +03:00
parent bbb14d3746
commit a769d69a9d
35 changed files with 113 additions and 66 deletions
+4
View File
@@ -1617,6 +1617,10 @@ CV_IMPL void cvSetTrackbarPos( const char* trackbar_name, const char* window_nam
if( pos > trackbar->maxval )
pos = trackbar->maxval;
}
else
{
CV_ERROR( CV_StsNullPtr, "No trackbar found" );
}
CV_LOCK_MUTEX();