From: Ilya Lavrenov Date: Sat, 15 Aug 2015 11:30:27 +0000 (+0300) Subject: fixed uninitialized values warning in bad arg test class X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~1314^2~176^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=47cee8715bb086f6b0ca0f5b301d2eec87ce9f2a;p=platform%2Fupstream%2Fopencv.git fixed uninitialized values warning in bad arg test class --- diff --git a/modules/ts/src/ts.cpp b/modules/ts/src/ts.cpp index ee8f011..bfeae74 100644 --- a/modules/ts/src/ts.cpp +++ b/modules/ts/src/ts.cpp @@ -323,6 +323,7 @@ BadArgTest::BadArgTest() progress = -1; test_case_idx = -1; freq = cv::getTickFrequency(); + t = -1; // oldErrorCbk = 0; // oldErrorCbkData = 0; } @@ -338,6 +339,7 @@ int BadArgTest::run_test_case( int expected_code, const string& _descr ) { test_case_idx = 0; progress = 0; + t = 0; dt = 0; } else