[mythtv-commits] Ticket #11580: Patch to eliminate (logically) dead code in decoderbase.cpp - fixes coverity 700308

MythTV noreply at mythtv.org
Sun Jun 9 20:06:43 UTC 2013


#11580: Patch to eliminate (logically) dead code in decoderbase.cpp - fixes
coverity 700308
-------------------------------------------------+-------------------------
 Reporter:  Gary Buhrmaster <gary.buhrmaster@…>  |          Owner:
     Type:  Bug Report - General                 |  stichnot
 Priority:  minor                                |         Status:  closed
Component:  MythTV - General                     |      Milestone:  0.27
 Severity:  medium                               |        Version:  Master
 Keywords:                                       |  Head
                                                 |     Resolution:  fixed
                                                 |  Ticket locked:  0
-------------------------------------------------+-------------------------
Changes (by Gary Buhrmaster <gary.buhrmaster@…>):

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


Comment:

 In [changeset:bae00573e4882b5f7a3f9480279434008690f23c/mythtv]:
 {{{
 #!CommitTicketReference repository="mythtv"
 revision="bae00573e4882b5f7a3f9480279434008690f23c"
 Eliminate (logically) dead code

 After commit [ea554c9c] selTrack will never have the value -1
 (it is assigned 0 in the block previous if it had that value).
 Remove the (redundant) checks.

 Fixes coverity 700308.
 Fixes #11580
 }}}

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/11580#comment:2>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list