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

File /core/lib/Drupal/Core/EventSubscriber/RedirectResponseSubscriber.php

Line 50: Unused local variable $redirect_path

Files: 
CommentFileSizeAuthor
#2 drupal-core-remove-unused-local-variable-2081209.patch773 bytesmrsinguyen
PASSED: [[SimpleTest]]: [MySQL] 58,486 pass(es). View

Comments

oriol_e9g’s picture

Status: Active » Needs work
mrsinguyen’s picture

Status: Needs work » Needs review
FileSize
773 bytes
PASSED: [[SimpleTest]]: [MySQL] 58,486 pass(es). View

Attached patch.

Status: Needs review » Needs work
Issue tags: -Novice

The last submitted patch, drupal-core-remove-unused-local-variable-2081209.patch, failed testing.

mrsinguyen’s picture

Status: Needs work » Needs review
Issue tags: +Novice
oriol_e9g’s picture

Status: Needs review » Reviewed & tested by the community
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.