Fix a few issues reported by static analyzers

This commit is contained in:
Florent Le Coz
2014-12-17 13:37:57 +01:00
parent 0ab5ecea13
commit 720e31a511
14 changed files with 11 additions and 28 deletions
-2
View File
@@ -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;