aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-14 11:43:18 +0100
committerMax Kellermann <max@duempel.org>2014-01-14 11:43:18 +0100
commit60486bcc46bda559c5cfbd228ebc54c8d7f313f9 (patch)
tree826e5f91a260b8fb8124ac28f49c10334e64b14d /src
parent79eed5182e3e8ae284e9ebb8d75d11a1165ccff1 (diff)
downloadmpd-60486bcc46bda559c5cfbd228ebc54c8d7f313f9.tar.gz
mpd-60486bcc46bda559c5cfbd228ebc54c8d7f313f9.tar.xz
mpd-60486bcc46bda559c5cfbd228ebc54c8d7f313f9.zip
db/upnp/WorkQueue: remove redundant n_workers_exited check from IsOK()
Diffstat (limited to 'src')
-rw-r--r--src/db/upnp/WorkQueue.hxx2
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;
}
};