Remove unused variable

This commit is contained in:
Ilya Fedin 2022-03-20 09:03:36 +04:00 committed by John Preston
parent 89be8d23fc
commit 5fa3d7a9da

View file

@ -1130,7 +1130,6 @@ QImage Colored(QImage &&image, QColor add) {
const auto cb = int(add.blueF() * 0xFF); const auto cb = int(add.blueF() * 0xFF);
const auto w = image.width(); const auto w = image.width();
const auto h = image.height(); const auto h = image.height();
const auto size = w * h * 4;
const auto add = image.bytesPerLine() - (w * 4); const auto add = image.bytesPerLine() - (w * 4);
auto i = index_type(); auto i = index_type();
for (auto y = 0; y != h; ++y) { for (auto y = 0; y != h; ++y) {