Part of meta-issue #2002650: [meta, no patch] improve maintainability by removing unused local variables
File /core/modules/syslog/lib/Drupal/syslog/Tests/SyslogTest.php
Line 39: Unused local variable $edit
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | drupal-code-unused-variable-2081115-6.patch | 709 bytes | deneo |
| #4 | 2081115-4.patch | 1.03 KB | areke |
| #1 | drupal-core-remove-unused-local-variable-2081115.patch | 705 bytes | mrsinguyen |
Comments
Comment #1
mrsinguyen commentedComment #2
hazaComment #3
parthipanramesh commentedpatching failed..
Comment #4
areke commentedComment #6
deneo commentedComment #7
areke commented4: 2081115-4.patch queued for re-testing.
Comment #8
xjmLet's also check the rest of the module and confirm that there are no other unused local variables.
Comment #9
enhdless commentedPatch #6 works great.
Comment #10
eugenesia commentedJust finishing up the issue I started looking at in LONDON_2013_DECEMBER yesterday. I applied patch #6, and all Simpletest tests passed for the syslog module. I checked visually and with PhpStorm and I confirm that there are no other unused local variables in the syslog module.
Comment #11
webchickCommitted and pushed to 8.x. Thanks!