diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2019-04-24 20:43:16 +0200 | 
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-04-24 20:43:16 +0200 | 
| commit | 766ab9643471635dda821c050f854777fc67afe0 (patch) | |
| tree | a380a9376e5f453e3d7d1d654a9cebb0dd4b673b | |
| parent | 3770bc071c0beb18a67238e98b48f86cced41e92 (diff) | |
tracker/easy: fix warns
| -rw-r--r-- | tracker-easy/point-extractor.cpp | 2 | ||||
| -rw-r--r-- | tracker-easy/tracker-easy-dialog.cpp | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/tracker-easy/point-extractor.cpp b/tracker-easy/point-extractor.cpp index 61175a57..f17fcde6 100644 --- a/tracker-easy/point-extractor.cpp +++ b/tracker-easy/point-extractor.cpp @@ -136,7 +136,7 @@ namespace EasyTracker          while (aPoints.size() > KPointCount) // Until we have no more than three points          {              int maxY = 0; -            size_t index = -1; +            unsigned index = (unsigned)-1;              // Search for the point with highest Y coordinate              for (size_t i = 0; i < aPoints.size(); i++) diff --git a/tracker-easy/tracker-easy-dialog.cpp b/tracker-easy/tracker-easy-dialog.cpp index fe0091c5..411639d5 100644 --- a/tracker-easy/tracker-easy-dialog.cpp +++ b/tracker-easy/tracker-easy-dialog.cpp @@ -189,7 +189,7 @@ namespace EasyTracker          if (tracker)          {              QMutexLocker l(&tracker->camera_mtx); -            tracker->camera->show_dialog(); +            (void)tracker->camera->show_dialog();          }          else              (void)video::show_dialog(s.camera_name); | 
