[mythtv-commits] Ticket #11581: Patch to remove redundant (logically useless) check in decoderbase.cpp

MythTV noreply at mythtv.org
Sun Jun 9 19:33:54 UTC 2013


#11581: Patch to remove redundant (logically useless) check in decoderbase.cpp
-------------------------------------------------+-------------------------
 Reporter:  Gary Buhrmaster <gary.buhrmaster@…>  |           Type:  Patch -
   Status:  new                                  |  Bug Fix
Milestone:  unknown                              |       Priority:  minor
  Version:  Master Head                          |      Component:  MythTV
 Keywords:                                       |  - General
                                                 |       Severity:  medium
                                                 |  Ticket locked:  0
-------------------------------------------------+-------------------------
 Static analysis (IEAEYEBALL), during the analysis of coverity 700308 which
 resulted in ticket 11580, noticed that the check in a number of
 conditionals for numStreams not being zero was redundant, since the
 function checked for that value near the beginning, and returned false if
 it was zero.  Eliminate the extra checks.

 Patch:
 https://github.com/garybuhrmaster/mythtv/commit/18b4ce0e1107257748060bca754a9dd69878e8fe

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/11581>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list