fix(build): GCC warnings

This commit is contained in:
Michael Carlberg 2016-11-03 18:19:47 +01:00
parent 5f21d7d440
commit 37ad86fa1c
2 changed files with 2 additions and 2 deletions

View File

@ -53,6 +53,6 @@ loglevel parse_loglevel_name(string name) {
return loglevel::TRACE;
else
return loglevel::NONE;
};
}
LEMONBUDDY_NS_END

View File

@ -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);
}
}