summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-03-08 19:09:50 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-03-08 19:10:55 +0100
commit1a1fcd1ecf5f503fc1a4ee6b6da7c6b1975b298a (patch)
treea3997150ae9958385cf3efd9f3c26e12b6311413 /tracker-pt
parentee4b8ac0bd8bd6923abaef6a0f587a1c0d34767a (diff)
tracker/pt: fix compile on GCC 4.9.x
"color" is declared in the same block anyway. Issue: #569
Diffstat (limited to 'tracker-pt')
-rw-r--r--tracker-pt/ftnoir_tracker_pt.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tracker-pt/ftnoir_tracker_pt.cpp b/tracker-pt/ftnoir_tracker_pt.cpp
index 8ed17a4f..bf7e2c4b 100644
--- a/tracker-pt/ftnoir_tracker_pt.cpp
+++ b/tracker-pt/ftnoir_tracker_pt.cpp
@@ -105,7 +105,6 @@ void Tracker_PT::run()
vec2 p_(p[0] / p[2] * fx, p[1] / p[2] * fx); // projected to screen
static constexpr int len = 9;
- static const cv::Scalar(0, 0, 255);
cv::Point p2(iround(p_[0] * preview_frame.cols + preview_frame.cols/2),
iround(-p_[1] * preview_frame.cols + preview_frame.rows/2));