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
+1 -1
View File
@@ -36,7 +36,7 @@ public:
* Takes a copy of the <command/> node so we can actually edit it and use
* it as our return value.
*/
XmlNode&& handle_request(const std::string& executor_jid, XmlNode command_node);
XmlNode handle_request(const std::string& executor_jid, XmlNode command_node);
/**
* Remove the session from the list. This is done to avoid filling the
* memory with waiting session (for example due to a client that starts