summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorEugene Kosov <claprix@yandex.ru>2019-10-03 17:45:36 +0300
committerEugene Kosov <claprix@yandex.ru>2019-10-03 17:45:36 +0300
commit5e65c67cfcc79c48c22798babee7555b04f40d18 (patch)
tree751a6600a8202e6637317688735749a873697c93 /storage
parentedda2fd149e4fcb7c9640be4d05d2c25013b2b71 (diff)
downloadmariadb-git-5e65c67cfcc79c48c22798babee7555b04f40d18.tar.gz
fix clang warning
Diffstat (limited to 'storage')
-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)