[mythtv-commits] Ticket #4848: remove useless null check of chanInfo

MythTV mythtv at cvs.mythtv.org
Mon Mar 3 21:43:36 UTC 2008


#4848: remove useless null check of chanInfo
---------------------------------------------+------------------------------
 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 Scheduler::AddNotListed, the for loop checks after it is dereferenced.
 Since it is just about guaranteed that p is valid already the check is
 useless.

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


More information about the mythtv-commits mailing list