Commit c16f465f authored by Ilya Lavrenov's avatar Ilya Lavrenov Committed by Alexander Smorkalov

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

(cherry picked from commit f100cdb6)
parent 3231c2f9
...@@ -1420,6 +1420,8 @@ TEST(Imgproc_cvWarpAffine, regression) ...@@ -1420,6 +1420,8 @@ TEST(Imgproc_cvWarpAffine, regression)
IplImage* src = cvCreateImage(cvSize(100, 100), IPL_DEPTH_8U, 1); IplImage* src = cvCreateImage(cvSize(100, 100), IPL_DEPTH_8U, 1);
IplImage* dst = cvCreateImage(cvSize(100, 100), IPL_DEPTH_8U, 1); IplImage* dst = cvCreateImage(cvSize(100, 100), IPL_DEPTH_8U, 1);
cvZero(src);
float m[6]; float m[6];
CvMat M = cvMat( 2, 3, CV_32F, m ); CvMat M = cvMat( 2, 3, CV_32F, m );
int w = src->width; int w = src->width;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment