summaryrefslogtreecommitdiff
path: root/storage/connect/inihandl.cpp
diff options
context:
space:
mode:
authorEugene Kosov <claprix@yandex.ru>2019-11-19 17:09:43 +0700
committerEugene Kosov <claprix@yandex.ru>2019-11-19 17:09:43 +0700
commit8fbfcce911d43091f34e1412269db785a0273641 (patch)
tree89a02304bb7cf11d549e835b9f3fac19fe8f6e7d /storage/connect/inihandl.cpp
parentc6b097ab3702fe993ee81899fefa9779b8b969e0 (diff)
downloadmariadb-git-8fbfcce911d43091f34e1412269db785a0273641.tar.gz
cleanup: remove always true condition to fix clang warning
Diffstat (limited to 'storage/connect/inihandl.cpp')
-rw-r--r--storage/connect/inihandl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/connect/inihandl.cpp b/storage/connect/inihandl.cpp
index 8e79aeac7ef..dacab3c485c 100644
--- a/storage/connect/inihandl.cpp
+++ b/storage/connect/inihandl.cpp
@@ -194,7 +194,7 @@ static void PROFILE_Save( FILE *file, PROFILESECTION *section )
}
for (key = section->key; key; key = key->next)
- if (key->name && key->name[0]) {
+ if (key->name[0]) {
fprintf(file, "%s", SVP(key->name));
if (key->value)