aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-04-20 11:48:32 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-04-20 11:48:32 +0200
commitdfc49cdec02805adbe4dd6829b546a329bda48ff (patch)
tree65ff2a10f833ab486e1ec1ec92b4c32fb7baf1b0
parent9b138ccbebdcdc6bfdd6f6d52e534ae14df280af (diff)
Get rid of unnecessary move() call
-rw-r--r--libbuild2/cc/link-rule.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/cc/link-rule.cxx b/libbuild2/cc/link-rule.cxx
index de47822..4f31103 100644
--- a/libbuild2/cc/link-rule.cxx
+++ b/libbuild2/cc/link-rule.cxx
@@ -2015,7 +2015,7 @@ namespace build2
// install rule to examine it.
//
case perform_update_id: t.keep_data (a); // Fall through.
- case perform_clean_id: return move (md);
+ case perform_clean_id: return md;
default: return noop_recipe; // Configure update.
}
}