mirror of https://github.com/polybar/polybar.git
fix(build): GCC warnings
This commit is contained in:
parent
5f21d7d440
commit
37ad86fa1c
|
@ -53,6 +53,6 @@ loglevel parse_loglevel_name(string name) {
|
|||
return loglevel::TRACE;
|
||||
else
|
||||
return loglevel::NONE;
|
||||
};
|
||||
}
|
||||
|
||||
LEMONBUDDY_NS_END
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue