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

File /core/modules/comment/lib/Drupal/comment/Tests/CommentRssTest.php

Line 36: Unused local variable $comment

#1 drupal-core-remove-unused-local-variable-2080575.patch874 bytesmrsinguyen
PASSED: [[SimpleTest]]: [MySQL] 58,860 pass(es). View


mrsinguyen’s picture

Status: Active » Needs review
874 bytes
PASSED: [[SimpleTest]]: [MySQL] 58,860 pass(es). View
LinL’s picture

Component: other » comment.module
Status: Needs review » Reviewed & tested by the community

Patch still applies, looks good. RTBC.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

I actually could see this var being helpful for a quick debug() but if that's the case, you could just hack it locally and add it yourself.

Committed and pushed to 8.x. Thanks!

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