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 committed by Dikay900
parent 7e26cf569f
commit e7ac52d17a

View File

@ -1377,6 +1377,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;