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/field/field.form.inc
Line 57: Unused local variable $key
Comment | File | Size | Author |
---|---|---|---|
#3 | 2080617_remove_unused_local_variable.patch | 584 bytes | slv_ |
Comments
Comment #1
chertzogClosing as part of #2080623: Remove Unused local variable $details from /core/modules/field/tests/modules/field_test/field_test.storage.inc
Comment #2
SeyV CreditAttribution: SeyV commentedThis has been closed in error. This is not related to the issue mentioned in comment #1.
There is a patch in the other issue that might be related to this.
Comment #3
slv_ CreditAttribution: slv_ commentedPatch attached.
Comment #4
slv_ CreditAttribution: slv_ commented#3: 2080617_remove_unused_local_variable.patch queued for re-testing.
Comment #5
swentel CreditAttribution: swentel commentedComment #6
Dries CreditAttribution: Dries commentedCommitted to 8.x. Thanks.