summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/ftnoir_tracker_pt.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-04-14 06:35:37 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-04-14 06:35:37 +0200
commit7db70bf6d7ccd92336f971078d28e8ad69b52bc1 (patch)
treefe837e5c00cb265467fc4a24c3e5d6c63cef5320 /tracker-pt/ftnoir_tracker_pt.cpp
parent168fc80717b5f0a21338d22a37e73539b969178e (diff)
tracker/pt: camera is never NULL
Diffstat (limited to 'tracker-pt/ftnoir_tracker_pt.cpp')
-rw-r--r--tracker-pt/ftnoir_tracker_pt.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tracker-pt/ftnoir_tracker_pt.cpp b/tracker-pt/ftnoir_tracker_pt.cpp
index ca228a24..73112522 100644
--- a/tracker-pt/ftnoir_tracker_pt.cpp
+++ b/tracker-pt/ftnoir_tracker_pt.cpp
@@ -60,9 +60,7 @@ void Tracker_PT::run()
{
QMutexLocker l(&camera_mtx);
-
- if (camera)
- std::tie(new_frame, info) = camera->get_frame(*frame);
+ std::tie(new_frame, info) = camera->get_frame(*frame);
}
if (new_frame)