diff --git a/src/components/logger.cpp b/src/components/logger.cpp index 55e51f0f..73f3b0b2 100644 --- a/src/components/logger.cpp +++ b/src/components/logger.cpp @@ -53,6 +53,6 @@ loglevel parse_loglevel_name(string name) { return loglevel::TRACE; else return loglevel::NONE; -}; +} LEMONBUDDY_NS_END diff --git a/src/utils/io.cpp b/src/utils/io.cpp index f03f30fd..5860b070 100644 --- a/src/utils/io.cpp +++ b/src/utils/io.cpp @@ -111,7 +111,7 @@ namespace io_util { void interrupt_read(int write_fd) { char end[1] = {'\n'}; - ::write(write_fd, end, 1); + (void)::write(write_fd, end, 1); } }