diff options
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 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> |