From 783d1c28c88229f81715f6ecd1cf3866855252a2 Mon Sep 17 00:00:00 2001 From: Ahmad Samir Date: Fri, 13 Aug 2021 02:10:47 +0200 Subject: clang-tidy: one declaration per line; braces around statements clang-tidy checks: readability-isolate-declaration and readability-braces-around-statements KF task: https://phabricator.kde.org/T14729 GIT_SILENT --- src/kconf_update/kconf_update.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/kconf_update') diff --git a/src/kconf_update/kconf_update.cpp b/src/kconf_update/kconf_update.cpp index d4f7e15e..bfb115dd 100644 --- a/src/kconf_update/kconf_update.cpp +++ b/src/kconf_update/kconf_update.cpp @@ -575,7 +575,8 @@ void KonfUpdate::gotRemoveGroup(const QString &_group) void KonfUpdate::gotKey(const QString &_key) { - QString oldKey, newKey; + QString oldKey; + QString newKey; const int i = _key.indexOf(QLatin1Char{','}); if (i == -1) { oldKey = _key.trimmed(); -- cgit v1.2.1