diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-08-04 16:51:35 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-08-04 16:51:35 +0200 |
commit | 6b3818fe1c4ae8f2009e8f0d25bfea3864a91748 (patch) | |
tree | 75c72c71790e9caeb1da7ef675390750322a996f | |
parent | 91a0464af4330e7ac1ada421c3014903a390b11a (diff) |
Squash warning
-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 |