commit | deb97f121edecd5c25ec034fbdda2460f1eef552 | [log] [tgz] |
---|---|---|
author | Andrew Jeffery <andrew@aj.id.au> | Thu Apr 07 17:27:46 2022 +0930 |
committer | Andrew Jeffery <andrew@aj.id.au> | Wed Apr 13 16:18:29 2022 +0930 |
tree | 63c44a7af9a0f2742917d2cd2db7870833bf0e2d | |
parent | 9555961f961ec6cdcb662d91f2ef3edd5004727f [diff] [blame] |
Utils: Drop redundant iteration guard Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Change-Id: I66e9a82850fed98405d917568e717287e4bb565a
diff --git a/src/Utils.cpp b/src/Utils.cpp index f96e56f..3d56946 100644 --- a/src/Utils.cpp +++ b/src/Utils.cpp
@@ -312,12 +312,9 @@ ret = replaced; - if (exprEnd != split.end()) + while (exprEnd != split.end()) { - while (exprEnd != split.end()) - { - result += " " + *exprEnd++; - } + result += " " + *exprEnd++; } keyPair.value() = result;