@@ -118,19 +118,19 @@ constexpr bool constexprContains(std::string_view haystack, std::string_view nee
118118 } \
119119 catch (const Poco::Exception & logger_exception) \
120120 { \
121- ::write (STDERR_FILENO, static_cast <const void *>(MESSAGE_FOR_EXCEPTION_ON_LOGGING), sizeof(MESSAGE_FOR_EXCEPTION_ON_LOGGING)); \
121+ ( void ) ::write (STDERR_FILENO, static_cast <const void *>(MESSAGE_FOR_EXCEPTION_ON_LOGGING), sizeof (MESSAGE_FOR_EXCEPTION_ON_LOGGING)); \
122122 const std::string & logger_exception_message = logger_exception.message (); \
123- ::write (STDERR_FILENO, static_cast <const void *>(logger_exception_message.data()), logger_exception_message.size()); \
123+ ( void ) ::write (STDERR_FILENO, static_cast <const void *>(logger_exception_message.data ()), logger_exception_message.size ()); \
124124 } \
125125 catch (const std::exception & logger_exception) \
126126 { \
127- ::write (STDERR_FILENO, static_cast <const void *>(MESSAGE_FOR_EXCEPTION_ON_LOGGING), sizeof(MESSAGE_FOR_EXCEPTION_ON_LOGGING)); \
127+ ( void ) ::write (STDERR_FILENO, static_cast <const void *>(MESSAGE_FOR_EXCEPTION_ON_LOGGING), sizeof (MESSAGE_FOR_EXCEPTION_ON_LOGGING)); \
128128 const char * logger_exception_message = logger_exception.what (); \
129- ::write (STDERR_FILENO, static_cast <const void *>(logger_exception_message), strlen(logger_exception_message)); \
129+ ( void ) ::write (STDERR_FILENO, static_cast <const void *>(logger_exception_message), strlen (logger_exception_message)); \
130130 } \
131131 catch (...) \
132132 { \
133- ::write (STDERR_FILENO, static_cast <const void *>(MESSAGE_FOR_EXCEPTION_ON_LOGGING), sizeof(MESSAGE_FOR_EXCEPTION_ON_LOGGING)); \
133+ ( void ) ::write (STDERR_FILENO, static_cast <const void *>(MESSAGE_FOR_EXCEPTION_ON_LOGGING), sizeof (MESSAGE_FOR_EXCEPTION_ON_LOGGING)); \
134134 } \
135135 ProfileEvents::incrementLoggerElapsedNanoseconds (_logger_watch.elapsedNanoseconds ()); \
136136} while (false )
0 commit comments