From 5fa3d7a9daa62fb82713bc822a5138116a6015f2 Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Sun, 20 Mar 2022 09:03:36 +0400 Subject: [PATCH] Remove unused variable --- ui/image/image_prepare.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/ui/image/image_prepare.cpp b/ui/image/image_prepare.cpp index dea3801..f86a16c 100644 --- a/ui/image/image_prepare.cpp +++ b/ui/image/image_prepare.cpp @@ -1130,7 +1130,6 @@ QImage Colored(QImage &&image, QColor add) { const auto cb = int(add.blueF() * 0xFF); const auto w = image.width(); const auto h = image.height(); - const auto size = w * h * 4; const auto add = image.bytesPerLine() - (w * 4); auto i = index_type(); for (auto y = 0; y != h; ++y) {