diff options
author | Max Kellermann <max@duempel.org> | 2014-01-11 01:16:35 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-11 01:16:35 +0100 |
commit | 4b3a3d6faaf279a6efbad45616e7b5ebdc5c7a62 (patch) | |
tree | 7e3169b5c6d3f8ad9700f1419d3de68c8368cc89 /src/db/upnp/upnpplib.cxx | |
parent | 71d012fa61289d167a4337f6f0aa17ac5bf39f12 (diff) | |
download | mpd-4b3a3d6faaf279a6efbad45616e7b5ebdc5c7a62.tar.gz mpd-4b3a3d6faaf279a6efbad45616e7b5ebdc5c7a62.tar.xz mpd-4b3a3d6faaf279a6efbad45616e7b5ebdc5c7a62.zip |
db/upnp: remove unnecessary Mutex
Diffstat (limited to 'src/db/upnp/upnpplib.cxx')
-rw-r--r-- | src/db/upnp/upnpplib.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/db/upnp/upnpplib.cxx b/src/db/upnp/upnpplib.cxx index 7d4160f47..d7c65ccf4 100644 --- a/src/db/upnp/upnpplib.cxx +++ b/src/db/upnp/upnpplib.cxx @@ -68,8 +68,6 @@ LibUPnP::LibUPnP() void LibUPnP::registerHandler(Upnp_EventType et, Upnp_FunPtr handler, void *cookie) { - const ScopeLock protect(m_mutex); - if (handler == nullptr) m_handlers.erase(et); else |