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

File /core/modules/file/lib/Drupal/file/Tests/SaveUploadTest.php

Line 83: Unused local variable $max_fid_before

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

legolasbo’s picture

Assigned: legolasbo » Unassigned
Status: Active » Needs review
FileSize
688 bytes

Removed unused local variable

phiit’s picture

Status: Needs review » Reviewed & tested by the community

Patch applied and reviewed, it looks good and simple. Thanks!

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Wow, great. This not only cleaned up an unused variable, but also improved performance by not calling a query unnecessarily. Great work!

Committed and pushed to 8.x. Thanks!

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