diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2020-05-02 18:21:58 -0700 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-05-20 14:15:40 +0200 |
commit | b1edcbc8b040455b76b1ac3c1762867c88e76287 (patch) | |
tree | 515c7296e9197247c44c3c9df0191520d3b682a6 /src | |
parent | 985d9f42f7691a5b96f9d55b96c83e7f8debfee1 (diff) |
Fix Clang 10 warning about misleading indentation
It sees the "emit" and thinks it's blank space.
qboxset.cpp:348:10: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation]
Change-Id: I99ab0f318b1c43b89888fffd160b5a7310c0a0d0
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit 1015f3500a516bc235cbbbfef7df6e0e57e582da)
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/charts/boxplotchart/qboxset.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/charts/boxplotchart/qboxset.cpp b/src/charts/boxplotchart/qboxset.cpp index e9771d12..85c2d434 100644 --- a/src/charts/boxplotchart/qboxset.cpp +++ b/src/charts/boxplotchart/qboxset.cpp @@ -343,8 +343,9 @@ bool QBoxSetPrivate::append(QList<qreal> values) void QBoxSetPrivate::clear() { m_appendCount = 0; - for (int i = 0; i < m_valuesCount; i++) + for (int i = 0; i < m_valuesCount; i++) { m_values[i] = 0.0; + } emit restructuredBox(); } |