diff options
-rw-r--r-- | libbutl/diagnostics.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbutl/diagnostics.cxx b/libbutl/diagnostics.cxx index 05661ec..4cfc291 100644 --- a/libbutl/diagnostics.cxx +++ b/libbutl/diagnostics.cxx @@ -62,7 +62,7 @@ namespace butl try { #ifndef _WIN32 - write (stderr_fd(), s.c_str (), s.size ()); + if (write (stderr_fd(), s.c_str (), s.size ())) {} // Suppress warning. #else _write (stderr_fd(), s.c_str (), static_cast<unsigned int> (s.size ())); #endif |