diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2021-07-05 01:25:54 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2021-07-05 01:26:16 +0200 |
commit | 0646cea12690900ed7bcf5dbdcfb5a058a202cba (patch) | |
tree | 2235a9b460b5745d1ea303e5a76ec991d8287cc6 /nncmpp.c | |
parent | a439a56ee9c4cbf92817bd5bd1c89c59c4e5964b (diff) | |
download | nncmpp-0646cea12690900ed7bcf5dbdcfb5a058a202cba.tar.gz nncmpp-0646cea12690900ed7bcf5dbdcfb5a058a202cba.tar.xz nncmpp-0646cea12690900ed7bcf5dbdcfb5a058a202cba.zip |
Silence a compiler warning
The statement can be eliminated, then it suggests braces.
Diffstat (limited to 'nncmpp.c')
-rw-r--r-- | nncmpp.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3938,9 +3938,10 @@ mpd_update_playback_state (void) if (!strcmp (state, "play")) g.state = PLAYER_PLAYING; if (!strcmp (state, "pause")) g.state = PLAYER_PAUSED; } - if (g.state == PLAYER_STOPPED) + { spectrum_clear (); + } // Values in "time" are always rounded. "elapsed", introduced in MPD 0.16, // is in millisecond precision and "duration" as well, starting with 0.20. |