summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_ht/video_widget.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-04-27 17:36:36 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-04-27 17:36:36 +0200
commitf44108df519d4aae5caa0bce62c9f54ca5b8c47a (patch)
tree260e67e8426cc1173c1effac827c60fb10d81018 /ftnoir_tracker_ht/video_widget.cpp
parent05ff973a2b31c272718b5e7da790220b17683437 (diff)
Remove redundant constant
Diffstat (limited to 'ftnoir_tracker_ht/video_widget.cpp')
-rw-r--r--ftnoir_tracker_ht/video_widget.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/ftnoir_tracker_ht/video_widget.cpp b/ftnoir_tracker_ht/video_widget.cpp
index 2fa272bd..ac91dd6b 100644
--- a/ftnoir_tracker_ht/video_widget.cpp
+++ b/ftnoir_tracker_ht/video_widget.cpp
@@ -17,7 +17,6 @@ void VideoWidget::update_image(unsigned char *frame, int width, int height)
QImage qframe = QImage(width, height, QImage::Format_RGB888);
uchar* data = qframe.bits();
const int pitch = qframe.bytesPerLine();
- const int cn = 3;
for (int y = 0; y < height; y++)
for (int x = 0; x < width; x++)
{