diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-04-14 06:35:37 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-04-14 06:35:37 +0200 |
commit | 7db70bf6d7ccd92336f971078d28e8ad69b52bc1 (patch) | |
tree | fe837e5c00cb265467fc4a24c3e5d6c63cef5320 /tracker-pt/ftnoir_tracker_pt.cpp | |
parent | 168fc80717b5f0a21338d22a37e73539b969178e (diff) |
tracker/pt: camera is never NULL
Diffstat (limited to 'tracker-pt/ftnoir_tracker_pt.cpp')
-rw-r--r-- | tracker-pt/ftnoir_tracker_pt.cpp | 4 |
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) |