summaryrefslogtreecommitdiff
path: root/sql-common
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2015-01-23 14:17:38 +0100
committerSergei Golubchik <sergii@pisem.net>2015-01-23 14:17:38 +0100
commitd1c4ff2b2cd54886087b6b879a6ea23f66d6582f (patch)
treecb4b497a4a86433864972938c9a555f73078b1c3 /sql-common
parentc287873795debc6c7939f6425ee41348e4a30690 (diff)
downloadmariadb-git-d1c4ff2b2cd54886087b6b879a6ea23f66d6582f.tar.gz
win32-debug build failure
Diffstat (limited to 'sql-common')
-rw-r--r--sql-common/client_plugin.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql-common/client_plugin.c b/sql-common/client_plugin.c
index 133d008f99b..063fc5c6dc6 100644
--- a/sql-common/client_plugin.c
+++ b/sql-common/client_plugin.c
@@ -28,6 +28,11 @@
There is no reference counting and no unloading either.
*/
+#if _MSC_VER
+/* Silence warnings about variable 'unused' being used. */
+#define FORCE_INIT_OF_VARS 1
+#endif
+
#include <my_global.h>
#include "mysql.h"
#include <my_sys.h>