[mythtv-commits] Ticket #11551: Patch for static analysis detected dead assignment in v4lchannel.cpp
MythTV
noreply at mythtv.org
Tue Jun 4 06:52:49 UTC 2013
#11551: Patch for static analysis detected dead assignment in v4lchannel.cpp
-------------------------------------------------+-------------------------
Reporter: Gary Buhrmaster <gary.buhrmaster@…> | Owner: danielk
Type: Patch - Bug Fix | Status: closed
Priority: minor | Milestone: unknown
Component: MythTV - Recording | Version: Master
Severity: medium | Head
Keywords: | Resolution: fixed
| Ticket locked: 0
-------------------------------------------------+-------------------------
Changes (by Gary Buhrmaster <gary.buhrmaster@…>):
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:63e45d8ed181fb8ef9213fe4f320b11b0ce89943/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="63e45d8ed181fb8ef9213fe4f320b11b0ce89943"
Fix static analysis detected error regarding dead assignment
In v4lchannel.cpp, the int field is assigned a value, and
never used before a later assignment. Move the declaration
and assignment to the code fragment where it is used (as
with some other existing variables). This resolves the
static analysis detected error.
Fixes #11551
}}}
--
Ticket URL: <http://code.mythtv.org/trac/ticket/11551#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list