mirror of
https://github.com/MariaDB/server.git
synced 2025-01-28 01:34:17 +01:00
Fixed some compiler warnings
This commit is contained in:
parent
466069b184
commit
4106974b9d
2 changed files with 2 additions and 2 deletions
|
@ -844,7 +844,7 @@ int Repl_semi_sync_master::commit_trx(const char* trx_wait_binlog_name,
|
|||
int wait_result;
|
||||
PSI_stage_info old_stage;
|
||||
THD *thd= current_thd;
|
||||
bool aborted= 0;
|
||||
bool aborted __attribute__((unused)) = 0;
|
||||
set_timespec(start_ts, 0);
|
||||
|
||||
DEBUG_SYNC(thd, "rpl_semisync_master_commit_trx_before_lock");
|
||||
|
|
|
@ -186,7 +186,7 @@ public:
|
|||
char buff[100];
|
||||
/* Clear the signal message */
|
||||
#ifndef _WIN32
|
||||
read(local_read_signal, buff, sizeof(buff));
|
||||
(void) !read(local_read_signal, buff, sizeof(buff));
|
||||
#else
|
||||
recv(local_read_signal, buff, sizeof(buff), 0);
|
||||
#endif /* _WIN32 */
|
||||
|
|
Loading…
Add table
Reference in a new issue