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

File /core/lib/Drupal/Core/Database/Query/Select.php

Line 632: Unused local variable $alias
Line 686: Unused local variable $alias
Line 691: Unused local variable $alias
Line 699: Unused local variable $alias

Comments

legolasbo’s picture

Status: Active » Needs review
StatusFileSize
new1.77 KB

Attached patch removes the unused variables

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

The last submitted patch, core-remove-unused-local-variables-select.php-2060821-1.patch, failed testing.

legolasbo’s picture

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

Status: Needs review » Reviewed & tested by the community

Checked all the instances and they are indeed unused.

webchick’s picture

Component: other » database system
Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x. Thanks!

legolasbo’s picture

Assigned: legolasbo » Unassigned

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