Opened 11 months ago
Closed 11 months ago
Last modified 10 months ago
Patch for static analysis detected dead assignment in v4lchannel.cpp
|Reported by:||Gary Buhrmaster <gary.buhrmaster@…>||Owned by:||danielk|
|Component:||MythTV - Recording||Version:||Master Head|
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).