[mythtv-commits] Ticket #11629: Patch to initialize member variables in MythSystemLegacyUnix ctor - fixes Coverity 1028697

MythTV noreply at mythtv.org
Sat Jul 13 18:19:45 UTC 2013


#11629: Patch to initialize member variables in MythSystemLegacyUnix ctor - fixes
Coverity 1028697
-------------------------+-------------------------------------------------
 Reporter:               |          Owner:  Gary Buhrmaster
  gary.buhrmaster@…      |  <gary.buhrmaster@…>
     Type:  Patch - Bug  |         Status:  closed
  Fix                    |      Milestone:  unknown
 Priority:  minor        |        Version:  Master Head
Component:  MythTV -     |     Resolution:  fixed
  MythSystem             |  Ticket locked:  0
 Severity:  medium       |
 Keywords:               |
-------------------------+-------------------------------------------------
Changes (by Gary Buhrmaster <gary.buhrmaster@…>):

 * owner:   => Gary Buhrmaster <gary.buhrmaster@…>
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"28020a10fdfa408ec6132f5be325ba2ad85b62d4/mythtv"]:
 {{{
 #!CommitTicketReference repository="mythtv"
 revision="28020a10fdfa408ec6132f5be325ba2ad85b62d4"
 Initialize member variables in MythSystemLegacyUnix ctor

 Static analysis detected that some member variables
 were not being initialized in the ctor.  They were
 being initialized in the Fork method (later).  To
 make static analysis happy, and avoid future errors,
 initialize them.

 Fixes coverity 1028697

 Fixes #11629

 Signed-off-by: Paul Harrison <pharrison at mythtv.org>
 }}}

--
Ticket URL: <http://code.mythtv.org/trac/ticket/11629#comment:1>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list