diff options
author | Max Kellermann <max@duempel.org> | 2014-01-14 11:43:18 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-14 11:43:18 +0100 |
commit | 60486bcc46bda559c5cfbd228ebc54c8d7f313f9 (patch) | |
tree | 826e5f91a260b8fb8124ac28f49c10334e64b14d /src | |
parent | 79eed5182e3e8ae284e9ebb8d75d11a1165ccff1 (diff) | |
download | mpd-60486bcc46bda559c5cfbd228ebc54c8d7f313f9.tar.gz mpd-60486bcc46bda559c5cfbd228ebc54c8d7f313f9.tar.xz mpd-60486bcc46bda559c5cfbd228ebc54c8d7f313f9.zip |
db/upnp/WorkQueue: remove redundant n_workers_exited check from IsOK()
Diffstat (limited to '')
-rw-r--r-- | src/db/upnp/WorkQueue.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/upnp/WorkQueue.hxx b/src/db/upnp/WorkQueue.hxx index c1098d12f..7dcf08c1f 100644 --- a/src/db/upnp/WorkQueue.hxx +++ b/src/db/upnp/WorkQueue.hxx @@ -227,7 +227,7 @@ public: private: bool IsOK() { - return ok && n_workers_exited == 0 && n_threads > 0; + return ok && n_threads > 0; } }; |