Opened 7 months ago
Closed 6 months ago
Last modified 6 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).