Skip to content

Commit

Permalink
Fix -Wunused-variable warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Jul 13, 2021
1 parent 92ce41a commit 2b08c71
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion qr/qr_generate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ QImage Generate(const Data &data, int pixel, QColor fg) {
}
const auto x = column * pixel;
const auto y = row * pixel;
const auto index = row * data.size + column;
if (value(row, column)) {
if (blackFull(row, column)) {
brect(x, y, pixel, pixel);
Expand Down

0 comments on commit 2b08c71

Please sign in to comment.