MDEV-4226 [PATCH] "Unused variable" warnings in the tarball

This commit is contained in:
Sergei Golubchik 2013-04-04 10:49:20 +02:00
commit 3e638e80fb
2 changed files with 2 additions and 2 deletions

View file

@ -738,7 +738,7 @@ static char **remaining_argv;
int orig_argc;
char **orig_argv;
static struct my_option pfs_early_options[]=
static struct my_option pfs_early_options[] __attribute__((unused)) =
{
{"performance_schema_instrument", OPT_PFS_INSTRUMENT,
"Default startup value for a performance schema instrument.",

View file

@ -923,7 +923,7 @@ static my_bool socket_peek_read(Vio *vio, uint *bytes)
int vio_io_wait(Vio *vio, enum enum_vio_io_event event, int timeout)
{
int ret;
short revents= 0;
short revents __attribute__((unused)) = 0;
struct pollfd pfd;
my_socket sd= mysql_socket_getfd(vio->mysql_socket);
MYSQL_SOCKET_WAIT_VARIABLES(locker, state) /* no ';' */