[opencv] 06/33: fixed uninitialized values warning in bad arg test class
Mattia Rizzolo
mattia at debian.org
Tue Oct 4 17:51:02 UTC 2016
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to annotated tag 2.4.12.2
in repository opencv.
commit 486c40f578e5f8f4428c86eda083ee11212ae068
Author: Ilya Lavrenov <ilya.lavrenov at itseez.com>
Date: Sat Aug 15 14:30:27 2015 +0300
fixed uninitialized values warning in bad arg test class
(cherry picked from commit 47cee8715bb086f6b0ca0f5b301d2eec87ce9f2a)
---
modules/ts/src/ts.cpp | 2 ++
1 file changed, 2 insertions(+)
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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/opencv.git
More information about the debian-science-commits
mailing list