From 60486bcc46bda559c5cfbd228ebc54c8d7f313f9 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 14 Jan 2014 11:43:18 +0100 Subject: db/upnp/WorkQueue: remove redundant n_workers_exited check from IsOK() --- src/db/upnp/WorkQueue.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/db') 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; } }; -- cgit v1.2.3