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

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

Line 50: Unused local variable $redirect_path

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

oriol_e9g’s picture

Status: Active » Needs work
mrsinguyen’s picture

Status: Needs work » Needs review
FileSize
773 bytes

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.