From 7db70bf6d7ccd92336f971078d28e8ad69b52bc1 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 14 Apr 2019 06:35:37 +0200 Subject: tracker/pt: camera is never NULL --- tracker-pt/ftnoir_tracker_pt.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tracker-pt') 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) -- cgit v1.2.3