[mythtv-commits] Ticket #11580: Patch to eliminate (logically) dead code in decoderbase.cpp - fixes coverity 700308
MythTV
noreply at mythtv.org
Sun Jun 9 19:28:06 UTC 2013
#11580: Patch to eliminate (logically) dead code in decoderbase.cpp - fixes
coverity 700308
-------------------------------------+-------------------------------------
Reporter: Gary Buhrmaster | Type: Bug Report -
<gary.buhrmaster@…> | General
Status: new | Priority: minor
Milestone: unknown | Component: MythTV - General
Version: Master Head | Severity: medium
Keywords: | Ticket locked: 0
-------------------------------------+-------------------------------------
Static analysis (coverity) detected logically dead code in
decoderbase.cpp, where selTrack would never be less than zero. Commit
ea554c9 assigned selTrack the value 0 in the block previously, make this
check dead.
Fixes coverity 700308
Patch:
https://github.com/garybuhrmaster/mythtv/commit/82c88731988568902ec56a27c0877d068bb98d18
--
Ticket URL: <http://code.mythtv.org/trac/ticket/11580>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list