diff options
author | Vladislav Vaintroub <wlad@montyprogram.com> | 2011-03-29 19:15:44 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@montyprogram.com> | 2011-03-29 19:15:44 +0200 |
commit | 2c0e356ae8a2265740de0540a8d76688025c3672 (patch) | |
tree | d3af96ae0548bb4865d6f2e8f68179198909f5a2 /sql-common | |
parent | c0577f6798f948138fadcc3195640adfd5ec4d92 (diff) | |
download | mariadb-git-2c0e356ae8a2265740de0540a8d76688025c3672.tar.gz |
fix VS warning about variable 'unused' being used
Diffstat (limited to 'sql-common')
-rw-r--r-- | sql-common/client_plugin.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql-common/client_plugin.c b/sql-common/client_plugin.c index f33662bb222..0b1bdeae0be 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> |