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

(cherry picked from commit f100cdb6d4373c93abc2b5613fae505ed3ce876d)
This commit is contained in:
Ilya Lavrenov 2015-08-20 12:20:38 +03:00 committed by Alexander Smorkalov
parent 3231c2f995
commit c16f465ff5

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;