[mythtv-commits] Ticket #4849: chanInfo assignment is useless

MythTV mythtv at cvs.mythtv.org
Mon Mar 3 21:47:44 UTC 2008


#4849: chanInfo assignment is useless
---------------------------------------------+------------------------------
 Reporter:  Erik Hovland <erik at hovland.org>  |       Owner:  ijr       
     Type:  defect                           |      Status:  new       
 Priority:  trivial                          |   Milestone:  0.21      
Component:  mythtv                           |     Version:  0.21-fixes
 Severity:  low                              |     Mlocked:  0         
---------------------------------------------+------------------------------
 In ChannelRecPriority::SortList there is an assignment:
 {{{
         chanInfo = &(pit.data());
 }}}

 But it is never used. So it is likely that the call is something that came
 in from another piece of code (another member function does roughly the
 same loop and does make use of chanInfo).

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


More information about the mythtv-commits mailing list