[mythtv-commits] Ticket #11551: Patch for static analysis detected dead assignment in v4lchannel.cpp
MythTV
noreply at mythtv.org
Sun May 26 22:11:39 UTC 2013
#11551: Patch for static analysis detected dead assignment in v4lchannel.cpp
-------------------------------------------------+-------------------------
Reporter: Gary Buhrmaster | Owner: danielk
<gary.buhrmaster@…> | Status: new
Type: Patch - Bug Fix | Milestone: unknown
Priority: minor | Version: Master Head
Component: MythTV - Recording | Keywords:
Severity: medium |
Ticket locked: 0 |
-------------------------------------------------+-------------------------
Static analysis (scan-build) detected a dead assignment for the variable
field, which is assigned a value in the declaration, but never used before
it is assigned a different value. This patch eliminates the dead code
(and moves the declaration to a code fragment where other variables are
declared and used for this particular expression).
https://github.com/garybuhrmaster/mythtv/commit/234e9884d98e3fccd2a18570507c14dd4627b65a
--
Ticket URL: <http://code.mythtv.org/trac/ticket/11551>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list