diff options
author | Monty <monty@mariadb.org> | 2018-04-26 16:33:05 +0300 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2018-04-26 17:35:12 +0300 |
commit | 2ccd6716fc730b3ff5e1bc2f8dc08ac561db3cb4 (patch) | |
tree | 9ad948abd204d9389d8dd45cbd8bfd373f2a861c /client | |
parent | 0bdc15d86ea94df6ed7ac07e69309d7b9b7281b2 (diff) | |
download | mariadb-git-2ccd6716fc730b3ff5e1bc2f8dc08ac561db3cb4.tar.gz |
Fix a lot of compiler warnings found by -Wunused
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqlbinlog.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysqlbinlog.cc b/client/mysqlbinlog.cc index 44675ef7ed9..4c8709bfca6 100644 --- a/client/mysqlbinlog.cc +++ b/client/mysqlbinlog.cc @@ -2904,7 +2904,7 @@ static Exit_status dump_local_log_entries(PRINT_EVENT_INFO *print_event_info, stdin in binary mode. Errors on setting this mode result in halting the function and printing an error message to stderr. */ -#if defined (__WIN__) || (_WIN64) +#if defined (__WIN__) || defined(_WIN64) if (_setmode(fileno(stdin), O_BINARY) == -1) { error("Could not set binary mode on stdin."); |