1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

fixed "Conditional jump or move depends on uninitialised value" warning

This commit is contained in:
Ilya Lavrenov
2015-08-20 12:20:38 +03:00
parent a00b37d209
commit f100cdb6d4
+2
View File
@@ -1420,6 +1420,8 @@ TEST(Imgproc_cvWarpAffine, regression)
IplImage* src = cvCreateImage(cvSize(100, 100), IPL_DEPTH_8U, 1);
IplImage* dst = cvCreateImage(cvSize(100, 100), IPL_DEPTH_8U, 1);
cvZero(src);
float m[6];
CvMat M = cvMat( 2, 3, CV_32F, m );
int w = src->width;