diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-27 17:36:36 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-27 17:36:36 +0200 |
commit | f44108df519d4aae5caa0bce62c9f54ca5b8c47a (patch) | |
tree | 260e67e8426cc1173c1effac827c60fb10d81018 | |
parent | 05ff973a2b31c272718b5e7da790220b17683437 (diff) |
Remove redundant constant
-rw-r--r-- | ftnoir_tracker_ht/video_widget.cpp | 1 |
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++) { |