[mythtv-commits] Ticket #4828: why assign when we don't have to?

MythTV mythtv at cvs.mythtv.org
Mon Mar 3 16:53:53 UTC 2008


#4828: why assign when we don't have to?
---------------------------------------------+------------------------------
 Reporter:  Erik Hovland <erik at hovland.org>  |       Owner:  ijr       
     Type:  defect                           |      Status:  new       
 Priority:  minor                            |   Milestone:  0.21      
Component:  mythtv                           |     Version:  0.21-fixes
 Severity:  low                              |     Mlocked:  0         
---------------------------------------------+------------------------------
 In UIManagedTreeListType::Draw() lnode is assigned to the return value of
 at() and first(). But those assignments are never used. The at() and
 first() calls do useful work and should be done. But the assignment is
 unnecessary. Removing them should reduce machine code size.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/4828>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list