Index: tools/gn/function_get_target_outputs.cc |
diff --git a/tools/gn/function_get_target_outputs.cc b/tools/gn/function_get_target_outputs.cc |
index 163b187d82049940c772f5b7db868d91c656ca42..dd2de0c733cbbb196989ede747c820dab89ce93e 100644 |
--- a/tools/gn/function_get_target_outputs.cc |
+++ b/tools/gn/function_get_target_outputs.cc |
@@ -92,8 +92,7 @@ Value RunGetTargetOutputs(Scope* scope, |
*err = Err(function, "No targets defined in this context."); |
return Value(); |
} |
- for (const auto& cur : *collector) { |
- const Item* item = cur->get(); |
+ for (const auto& item : *collector) { |
if (item->label() != label) |
continue; |