Part of meta-issue #2002650: [meta] improve maintainability by removing unused local variables

File /core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/field/formatter/EntityReferenceTaxonomyTermRssFormatter.php

Line 38: Unused local variable $delta

#1 drupal-core-remove-unused-local-variable-2081195-1.patch903 bytessmira
PASSED: [[SimpleTest]]: [MySQL] 58,396 pass(es). View


smira’s picture

Status: Active » Needs review
903 bytes
PASSED: [[SimpleTest]]: [MySQL] 58,396 pass(es). View
lorique’s picture

Status: Needs review » Reviewed & tested by the community

The delta is gone, and is not used anywhere in the method EntityReferenceTaxonomyTermRssFormatter->viewElements(), so this can and has been safely removed.

Changing status. Thank you for your patch @mrsinguyen.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x. Thanks!

Automatically closed -- issue fixed for 2 weeks with no activity.