[mythtv-commits] Ticket #4745: always check that the context pointer is valid in MythContext::GetSetting

MythTV mythtv at cvs.mythtv.org
Fri Feb 22 22:15:35 UTC 2008


#4745: always check that the context pointer is valid in MythContext::GetSetting
---------------------------------------------+------------------------------
 Reporter:  Erik Hovland <erik at hovland.org>  |        Owner:  ijr   
     Type:  defect                           |       Status:  closed
 Priority:  minor                            |    Milestone:  0.21  
Component:  mythtv                           |      Version:  head  
 Severity:  low                              |   Resolution:  fixed 
  Mlocked:  0                                |  
---------------------------------------------+------------------------------
Changes (by ijr):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 (In [16206]) MythContextPrivate can't ever be null.  assert in the
 constructor, and remove useless checks for it.

 Indirectly fixes #4745.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/4745#comment:1>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list