summaryrefslogtreecommitdiff
path: root/sql-common
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2018-04-30 15:21:52 +0300
committerMonty <monty@mariadb.org>2018-04-30 15:21:52 +0300
commita1fe7d75dc0468ebf2f31e6e7ddeef186abcd230 (patch)
tree597212e3eec8fc08961f1d93e9d3caa52ff4db01 /sql-common
parent7d6b55b99aa11bc888bdf7ad1ccdf845909a91c5 (diff)
downloadmariadb-git-a1fe7d75dc0468ebf2f31e6e7ddeef186abcd230.tar.gz
Removed even more warning that was found with -Wunused
- Removed test if HA_FT_WTYPE == HA_KEYTYPE_FLOAT as this never worked (HA_KEYTYPE_FLOAT is an enum) - Define HA_FT_MAXLEN to 126 (was tested before but never defined)
Diffstat (limited to 'sql-common')
-rw-r--r--sql-common/client_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql-common/client_plugin.c b/sql-common/client_plugin.c
index f81660f8986..4c584d17294 100644
--- a/sql-common/client_plugin.c
+++ b/sql-common/client_plugin.c
@@ -28,7 +28,7 @@
There is no reference counting and no unloading either.
*/
-#if _MSC_VER
+#if defined(_MSC_VER)
/* Silence warnings about variable 'unused' being used. */
#define FORCE_INIT_OF_VARS 1
#endif