mirror of
https://github.com/opencv/opencv.git
synced 2026-09-29 04:09:43 +03:00
Fixed several issues found by static analysis tools
This commit is contained in:
1 parent
7d40fcead5
commit
e0603bb45f
8 files changed
+28
-21
No files matched your search
@@ -1725,8 +1725,8 @@ cvPtr1D( const CvArr* arr, int idx, int* _type )
|
||||
else
|
||||
{
|
||||
int i, n = m->dims;
|
||||
CV_DbgAssert( n <= CV_MAX_DIM_HEAP );
|
||||
int _idx[CV_MAX_DIM_HEAP];
|
||||
CV_DbgAssert( n <= CV_MAX_DIM );
|
||||
int _idx[CV_MAX_DIM];
|
||||
|
||||
for( i = n - 1; i >= 0; i-- )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user