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

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

Comments

Status:Active» Needs review
StatusFileSize
new903 bytes
PASSED: [[SimpleTest]]: [MySQL] 58,396 pass(es).
[ View ]

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.

Status:Reviewed & tested by the community» Fixed

Committed and pushed to 8.x. Thanks!

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