Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
3e638e80
Commit
3e638e80
authored
Apr 04, 2013
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-4226 [PATCH] "Unused variable" warnings in the tarball
parent
cc28eda6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
sql/mysqld.cc
sql/mysqld.cc
+1
-1
vio/viosocket.c
vio/viosocket.c
+1
-1
No files found.
sql/mysqld.cc
View file @
3e638e80
...
@@ -738,7 +738,7 @@ static char **remaining_argv;
...
@@ -738,7 +738,7 @@ static char **remaining_argv;
int
orig_argc
;
int
orig_argc
;
char
**
orig_argv
;
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
,
{
"performance_schema_instrument"
,
OPT_PFS_INSTRUMENT
,
"Default startup value for a performance schema instrument."
,
"Default startup value for a performance schema instrument."
,
...
...
vio/viosocket.c
View file @
3e638e80
...
@@ -923,7 +923,7 @@ static my_bool socket_peek_read(Vio *vio, uint *bytes)
...
@@ -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
vio_io_wait
(
Vio
*
vio
,
enum
enum_vio_io_event
event
,
int
timeout
)
{
{
int
ret
;
int
ret
;
short
revents
=
0
;
short
revents
__attribute__
((
unused
))
=
0
;
struct
pollfd
pfd
;
struct
pollfd
pfd
;
my_socket
sd
=
mysql_socket_getfd
(
vio
->
mysql_socket
);
my_socket
sd
=
mysql_socket_getfd
(
vio
->
mysql_socket
);
MYSQL_SOCKET_WAIT_VARIABLES
(
locker
,
state
)
/* no ';' */
MYSQL_SOCKET_WAIT_VARIABLES
(
locker
,
state
)
/* no ';' */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment