diff options
Diffstat (limited to '')
-rw-r--r-- | src/db/upnp/ixmlwrap.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db/upnp/ixmlwrap.cxx b/src/db/upnp/ixmlwrap.cxx index 2bc8658a3..6a2829cf9 100644 --- a/src/db/upnp/ixmlwrap.cxx +++ b/src/db/upnp/ixmlwrap.cxx @@ -19,10 +19,10 @@ namespace ixmlwrap { -std::string +const char * getFirstElementValue(IXML_Document *doc, const char *name) { - std::string ret; + const char *ret = nullptr; IXML_NodeList *nodes = ixmlDocument_getElementsByTagName(doc, name); |