Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Part of meta-issue #2002650: [meta, no patch] improve maintainability by removing unused local variables
File /core/modules/file/file.views.inc
Line 489: Unused local variable $all_labels
Comment | File | Size | Author |
---|---|---|---|
#1 | core-remove-unused-vars-file.views_.inc-2072545-1.patch | 661 bytes | legolasbo |
Comments
Comment #1
legolasboRemoved the unused local variable
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedThis has already been fixed in another patch - couldn't find the specific issue as lots bundled together in the commit so here's a link to the commit diff where it changes:
http://drupalcode.org/project/drupal.git/blobdiff/8cf78305aff9dd30696e61...
Comment #3
luismagr CreditAttribution: luismagr commentedI agree
Comment #4
boran CreditAttribution: boran commentedagreed, so marked as closed-fixed