[mythtv-commits] Ticket #8020: UIUtilDisp is some strange....

MythTV mythtv at cvs.mythtv.org
Sun Sep 12 14:03:03 UTC 2010

#8020: UIUtilDisp is some strange....
 Reporter:  sunny an                         |           Owner:  stuartm
     Type:  defect                           |          Status:  closed 
 Priority:  minor                            |       Milestone:  0.24   
Component:  MythTV - User Interface Library  |         Version:  0.22   
 Severity:  medium                           |      Resolution:  Invalid
 Keywords:  Assign                           |   Ticket locked:  0      
Changes (by stuartm):

  * status:  accepted => closed
  * resolution:  => Invalid


 Although I'd agree that this code does not read easily, with all the
 templating etc it's obscure to say the least, the logic appears correct.

 if item is null, then we evaluate if (err) (true, err is a pointer not a
 bool), we then do a OR (|) bit op to *err (address of err, a bool).

Ticket URL: <http://svn.mythtv.org/trac/ticket/8020#comment:5>
MythTV <http://www.mythtv.org/>
MythTV Media Center

More information about the mythtv-commits mailing list