From 0b34d90dfaff73491e0971f7251d21d1cf274ca0 Mon Sep 17 00:00:00 2001 From: Rostislav Vasilikhin Date: Sun, 24 Jul 2022 18:28:26 +0200 Subject: [PATCH] minor --- modules/3d/test/test_odometry.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/3d/test/test_odometry.cpp b/modules/3d/test/test_odometry.cpp index 8f749df7d8..2ddcfdbf27 100644 --- a/modules/3d/test/test_odometry.cpp +++ b/modules/3d/test/test_odometry.cpp @@ -186,8 +186,7 @@ void OdometryTest::run() Mat mask(image.size(), CV_8UC1, Scalar(255)); odometry.prepareFrame(odf); - bool isComputed; - isComputed = odometry.compute(odf, odf, calcRt); + bool isComputed = odometry.compute(odf, odf, calcRt); if(!isComputed) {