fixed uninitialized values warning in bad arg test class
authorIlya Lavrenov <ilya.lavrenov@itseez.com>
Sat, 15 Aug 2015 11:30:27 +0000 (14:30 +0300)
committerAlexander Smorkalov <alexander.smorkalov@itseez.com>
Thu, 17 Sep 2015 10:36:51 +0000 (13:36 +0300)
(cherry picked from commit 47cee8715bb086f6b0ca0f5b301d2eec87ce9f2a)

modules/ts/src/ts.cpp

index ee8f011..bfeae74 100644 (file)
@@ -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