mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-21 20:05:42 +02:00
module/mpd: idle mask variable is unused, when we don't debug log
This commit is contained in:
parent
0103eff3a0
commit
cc59593f29
1 changed files with 3 additions and 1 deletions
|
@ -308,7 +308,9 @@ run(struct module_run_context *ctx)
|
|||
}
|
||||
|
||||
if (fds[1].revents & POLLIN) {
|
||||
enum mpd_idle idle = mpd_recv_idle(m->conn, true);
|
||||
enum mpd_idle idle __attribute__ ((unused)) =
|
||||
mpd_recv_idle(m->conn, true);
|
||||
|
||||
LOG_DBG("IDLE mask: %d", idle);
|
||||
|
||||
if (!update_status(mod))
|
||||
|
|
Loading…
Add table
Reference in a new issue