From 2c0e356ae8a2265740de0540a8d76688025c3672 Mon Sep 17 00:00:00 2001 From: Vladislav Vaintroub Date: Tue, 29 Mar 2011 19:15:44 +0200 Subject: fix VS warning about variable 'unused' being used --- sql-common/client_plugin.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sql-common') 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 #include "mysql.h" #include -- cgit v1.2.1