mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
pacmd: add missing 'else' keyword
See code above for proper behavior. Issue detected by PVS Studio
This commit is contained in:
parent
1931e40b1c
commit
f5c001af5f
1 changed files with 1 additions and 1 deletions
|
|
@ -333,7 +333,7 @@ int main(int argc, char*argv[]) {
|
||||||
if (watch_socket->revents & POLLHUP) {
|
if (watch_socket->revents & POLLHUP) {
|
||||||
ibuf_eof = true;
|
ibuf_eof = true;
|
||||||
ibuf_length = 0;
|
ibuf_length = 0;
|
||||||
} if (watch_socket->revents & POLLOUT) {
|
} else if (watch_socket->revents & POLLOUT) {
|
||||||
ssize_t r;
|
ssize_t r;
|
||||||
pa_assert(ibuf_length > 0);
|
pa_assert(ibuf_length > 0);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue