summaryrefslogtreecommitdiff
path: root/sql-common/client_plugin.c
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@montyprogram.com>2011-03-29 22:43:35 +0200
committerVladislav Vaintroub <wlad@montyprogram.com>2011-03-29 22:43:35 +0200
commit3273ce6a775b715a72cbc9aacdbb43650c7bd103 (patch)
treea235037c8d69fe7599defe918d1689875f980b57 /sql-common/client_plugin.c
parent9e5bf5ae0c87995188edc585c6adeb391f7df5e5 (diff)
parent2c0e356ae8a2265740de0540a8d76688025c3672 (diff)
downloadmariadb-git-3273ce6a775b715a72cbc9aacdbb43650c7bd103.tar.gz
merge
Diffstat (limited to 'sql-common/client_plugin.c')
-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 e37849d75b2..9a90e3c93fd 100644
--- a/sql-common/client_plugin.c
+++ b/sql-common/client_plugin.c
@@ -27,6 +27,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>