summaryrefslogtreecommitdiffstats
path: root/src/xml/simple-node.cpp
diff options
context:
space:
mode:
authorThomas Holder <thomas@thomas-holder.de>2019-08-23 15:25:01 +0000
committerMarc Jeanmougin <marcjeanmougin@free.fr>2019-08-23 17:38:10 +0000
commitac61104df7df1b452666a037aeac55d5b71da85d (patch)
tree6240a92eebb158c8785e15342a5db7c0ecf3d0a6 /src/xml/simple-node.cpp
parentUpdate of Czech translation (diff)
downloadinkscape-ac61104df7df1b452666a037aeac55d5b71da85d.tar.gz
inkscape-ac61104df7df1b452666a037aeac55d5b71da85d.zip
Eliminate clang warnings
-Winfinite-recursion -Wpessimizing-move -Wunused-label -Wunneeded-internal-declaration -Wself-assign-overloaded -Wunused-const-variable (some) -Wsometimes-uninitialized (some)
Diffstat (limited to 'src/xml/simple-node.cpp')
-rw-r--r--src/xml/simple-node.cpp2
1 files changed, 1 insertions, 1 deletions
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<std::string> stringify_node(Node const &node) {
}
std::shared_ptr<std::string> result = std::make_shared<std::string>(string);
g_free(string);
- return std::move(result);
+ return result;
}
typedef Debug::SimpleEvent<Debug::Event::XML> DebugXML;