[wp-trac] [WordPress Trac] #10736: Unneeded initialization of $output

WordPress Trac wp-trac at lists.automattic.com
Fri Nov 13 21:37:52 UTC 2009


#10736: Unneeded initialization of $output
--------------------------+-------------------------------------------------
 Reporter:  nbachiyski    |       Owner:                  
     Type:  defect (bug)  |      Status:  new             
 Priority:  lowest        |   Milestone:  2.9             
Component:  General       |     Version:  2.9             
 Severity:  trivial       |    Keywords:  has-patch tested
--------------------------+-------------------------------------------------
Changes (by miqrogroove):

 * cc: miqrogroove@… (added)
  * keywords:  has-patch => has-patch tested


Comment:

 I'll second that.  $output === NULL if the assignment is ever invalid, so
 the extra string assignment was meaningless in this scope.

 Line numbers are slightly different in Revision 12149.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10736#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list