summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/ftnoir_tracker_pt.cpp
diff options
context:
space:
mode:
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)