diff options
author | Max Kellermann <max@duempel.org> | 2014-01-14 10:53:57 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-14 11:06:43 +0100 |
commit | 7740855a78e75e5b41eb5fb4db8cf4c7a9b644ad (patch) | |
tree | 550a123618034373ad95a8080d5e3ee527b661e5 /src/db/upnp/WorkQueue.hxx | |
parent | d605170f9f4bea4a354432b88c9d799aedec87ca (diff) | |
download | mpd-7740855a78e75e5b41eb5fb4db8cf4c7a9b644ad.tar.gz mpd-7740855a78e75e5b41eb5fb4db8cf4c7a9b644ad.tar.xz mpd-7740855a78e75e5b41eb5fb4db8cf4c7a9b644ad.zip |
db/upnp/WorkQueue: remove unused "szp" parameter from take()
Diffstat (limited to 'src/db/upnp/WorkQueue.hxx')
-rw-r--r-- | src/db/upnp/WorkQueue.hxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/db/upnp/WorkQueue.hxx b/src/db/upnp/WorkQueue.hxx index c41b22094..432351250 100644 --- a/src/db/upnp/WorkQueue.hxx +++ b/src/db/upnp/WorkQueue.hxx @@ -241,7 +241,7 @@ public: * Sleeps if there are not enough. Signal if we go to sleep on empty * queue: client may be waiting for our going idle. */ - bool take(T* tp, size_t *szp = 0) + bool take(T* tp) { const ScopeLock protect(m_mutex); @@ -267,8 +267,6 @@ public: } *tp = m_queue.front(); - if (szp) - *szp = m_queue.size(); m_queue.pop(); if (m_clients_waiting > 0) { // No reason to wake up more than one client thread |