From e6198500f73562c7cbff2fa60b83ceca1ef88204 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Fri, 21 Jul 2023 07:10:17 +0200 Subject: [PATCH] BlockAnalyzer: Remove useless continue --- src/analyzer/blockanalyzer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/analyzer/blockanalyzer.cpp b/src/analyzer/blockanalyzer.cpp index 329bf806..2d18b31b 100644 --- a/src/analyzer/blockanalyzer.cpp +++ b/src/analyzer/blockanalyzer.cpp @@ -165,7 +165,7 @@ void BlockAnalyzer::analyze(QPainter &p, const Scope &s, bool new_frame) { for (int x = 0, y = 0; x < static_cast(scope_.size()); ++x) { // determine y - for (y = 0; scope_[x] < yscale_[y]; ++y) continue; + for (y = 0; scope_[x] < yscale_[y]; ++y); // This is opposite to what you'd think, higher than y means the bar is lower than y (physically) if (static_cast(y) > store_[x]) {