Fix a few issues reported by static analyzers
This commit is contained in:
@@ -166,10 +166,8 @@ Xmpp::body irc_format_to_xhtmlim(const std::string& s)
|
||||
{
|
||||
current_node->close();
|
||||
result->add_child(current_node);
|
||||
current_node = result.get();
|
||||
}
|
||||
|
||||
|
||||
result->close();
|
||||
Xmpp::body body_res = std::make_tuple(cleaned, std::move(result));
|
||||
return body_res;
|
||||
|
||||
Reference in New Issue
Block a user