From 25b4e463d3282afa5573f6d4077d988ab243fa09 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 24 May 2019 02:03:25 -0400 Subject: [PATCH] ir_opt/a64_get_set_elimination_pass: Remove redundant return This lambda function has a void return type, so we don't need to explicitly return at the end of it. --- src/ir_opt/a64_get_set_elimination_pass.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ir_opt/a64_get_set_elimination_pass.cpp b/src/ir_opt/a64_get_set_elimination_pass.cpp index 56da5046..bf0db2f4 100644 --- a/src/ir_opt/a64_get_set_elimination_pass.cpp +++ b/src/ir_opt/a64_get_set_elimination_pass.cpp @@ -66,7 +66,6 @@ void A64GetSetElimination(IR::Block& block) { } do_nothing(); - return; }; for (auto inst = block.begin(); inst != block.end(); ++inst) {