Commit 3eb34fb2 authored by Volker Krause's avatar Volker Krause
Browse files

Silence an unused function warning

parent 06e09448
Pipeline #30580 failed with stage
in 7 minutes and 20 seconds
...@@ -110,6 +110,7 @@ HtmlElement HtmlElement::nextSibling() const ...@@ -110,6 +110,7 @@ HtmlElement HtmlElement::nextSibling() const
return {}; return {};
} }
#ifdef HAVE_LIBXML2
static QString normalizeSpaces(const QString &in) static QString normalizeSpaces(const QString &in)
{ {
QString out; QString out;
...@@ -145,6 +146,7 @@ static QString normalizeSpaces(const QString &in) ...@@ -145,6 +146,7 @@ static QString normalizeSpaces(const QString &in)
return out.trimmed(); // trailing trim can be done without copying return out.trimmed(); // trailing trim can be done without copying
} }
#endif
QString HtmlElement::content() const QString HtmlElement::content() const
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment