diff options
| author | Thomas Holder <thomas@thomas-holder.de> | 2019-08-23 15:25:01 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marcjeanmougin@free.fr> | 2019-08-23 17:38:10 +0000 |
| commit | ac61104df7df1b452666a037aeac55d5b71da85d (patch) | |
| tree | 6240a92eebb158c8785e15342a5db7c0ecf3d0a6 /src/xml/simple-node.cpp | |
| parent | Update of Czech translation (diff) | |
| download | inkscape-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 '')
| -rw-r--r-- | src/xml/simple-node.cpp | 2 |
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; |
