From ac61104df7df1b452666a037aeac55d5b71da85d Mon Sep 17 00:00:00 2001 From: Thomas Holder Date: Fri, 23 Aug 2019 17:25:01 +0200 Subject: Eliminate clang warnings -Winfinite-recursion -Wpessimizing-move -Wunused-label -Wunneeded-internal-declaration -Wself-assign-overloaded -Wunused-const-variable (some) -Wsometimes-uninitialized (some) --- src/xml/simple-node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xml/simple-node.cpp') diff --git a/src/xml/simple-node.cpp b/src/xml/simple-node.cpp index a1f0c7024..b628d678a 100644 --- a/src/xml/simple-node.cpp +++ b/src/xml/simple-node.cpp @@ -60,7 +60,7 @@ std::shared_ptr stringify_node(Node const &node) { } std::shared_ptr result = std::make_shared(string); g_free(string); - return std::move(result); + return result; } typedef Debug::SimpleEvent DebugXML; -- cgit v1.2.3