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

pull/5335/head
Ilya Lavrenov 10 years ago committed by Dikay900
parent 7e26cf569f
commit e7ac52d17a
  1. 2
      modules/imgproc/test/test_imgwarp.cpp

@ -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;

Loading…
Cancel
Save