mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
MDEV-4226 [PATCH] "Unused variable" warnings in the tarball
This commit is contained in:
parent
cc28eda62e
commit
3e638e80fb
2 changed files with 2 additions and 2 deletions
|
|
@ -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.",
|
||||
|
|
|
|||
|
|
@ -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 ';' */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue