diff options
author | Max Kellermann <max@duempel.org> | 2014-01-10 22:13:21 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-10 22:59:46 +0100 |
commit | b330aa8dd5114db7119755dd0678773770c83992 (patch) | |
tree | 6f750bf2ee4ccbebd15d68c4414eae2045adffb0 /src/db/upnp/Device.cxx | |
parent | 1b8053a618a84122367699a24f6b2b871f1f2100 (diff) | |
download | mpd-b330aa8dd5114db7119755dd0678773770c83992.tar.gz mpd-b330aa8dd5114db7119755dd0678773770c83992.tar.xz mpd-b330aa8dd5114db7119755dd0678773770c83992.zip |
db/upnp: remove unnecessary empty string checks from CharacterData()
Diffstat (limited to '')
-rw-r--r-- | src/db/upnp/Device.cxx | 3 |
1 files changed, 0 insertions, 3 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]) { |