summaryrefslogtreecommitdiff
path: root/client/mysqlbinlog.cc
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2018-04-26 16:33:05 +0300
committerMonty <monty@mariadb.org>2018-04-26 17:35:12 +0300
commit2ccd6716fc730b3ff5e1bc2f8dc08ac561db3cb4 (patch)
tree9ad948abd204d9389d8dd45cbd8bfd373f2a861c /client/mysqlbinlog.cc
parent0bdc15d86ea94df6ed7ac07e69309d7b9b7281b2 (diff)
downloadmariadb-git-2ccd6716fc730b3ff5e1bc2f8dc08ac561db3cb4.tar.gz
Fix a lot of compiler warnings found by -Wunused
Diffstat (limited to 'client/mysqlbinlog.cc')
-rw-r--r--client/mysqlbinlog.cc2
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.");