diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/db/upnp/Device.cxx | 3 | ||||
-rw-r--r-- | src/db/upnp/Directory.cxx | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/src/db/upnp/Device.cxx b/src/db/upnp/Device.cxx index c1cfab07a..37a5bf928 100644 --- a/src/db/upnp/Device.cxx +++ b/src/db/upnp/Device.cxx @@ -59,9 +59,6 @@ protected: } virtual void CharacterData(const XML_Char *s, int len) { - if (len == 0) - return; - std::string str(s, len); trimstring(str); switch (m_path.back()[0]) { diff --git a/src/db/upnp/Directory.cxx b/src/db/upnp/Directory.cxx index bc871a448..cbe025e7a 100644 --- a/src/db/upnp/Directory.cxx +++ b/src/db/upnp/Directory.cxx @@ -160,8 +160,6 @@ protected: virtual void CharacterData(const XML_Char *s, int len) { - if (s == 0 || *s == 0) - return; std::string str(s, len); trimstring(str); switch (m_path.back()[0]) { |