general: Remove unused lambda captures

Resolves warnings that occur in Xcode 9.3
This commit is contained in:
Lioncash
2018-04-15 01:17:20 -04:00
committed by MerryMage
parent 205ca6b4cb
commit 6bcfdba1ad
2 changed files with 13 additions and 13 deletions

View File

@@ -47,7 +47,7 @@ void A64GetSetElimination(IR::Block& block) {
info.last_set_instruction = set_inst;
};
const auto do_get = [&block](RegisterInfo& info, Iterator get_inst, TrackingType tracking_type) {
const auto do_get = [](RegisterInfo& info, Iterator get_inst, TrackingType tracking_type) {
const auto do_nothing = [&] {
info = {};
info.register_value = IR::Value(&*get_inst);