aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/upnp/Discovery.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-14 10:53:57 +0100
committerMax Kellermann <max@duempel.org>2014-01-14 11:06:43 +0100
commit7740855a78e75e5b41eb5fb4db8cf4c7a9b644ad (patch)
tree550a123618034373ad95a8080d5e3ee527b661e5 /src/db/upnp/Discovery.cxx
parentd605170f9f4bea4a354432b88c9d799aedec87ca (diff)
downloadmpd-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/Discovery.cxx')
-rw-r--r--src/db/upnp/Discovery.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/db/upnp/Discovery.cxx b/src/db/upnp/Discovery.cxx
index 23705271d..9d2b8dbd0 100644
--- a/src/db/upnp/Discovery.cxx
+++ b/src/db/upnp/Discovery.cxx
@@ -109,8 +109,7 @@ discoExplorer(void *)
{
for (;;) {
DiscoveredTask *tsk = 0;
- size_t qsz;
- if (!discoveredQueue.take(&tsk, &qsz)) {
+ if (!discoveredQueue.take(&tsk)) {
discoveredQueue.workerExit();
return (void*)1;
}