Opened 3 years ago
Closed 2 years ago
Last modified 2 years 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).