Opened 4 years ago
Closed 4 years ago
Correct saving of the DTSHDPassThru state
|Reported by:||Gary Buhrmaster <gary.buhrmaster@…>||Owned by:||jyavenard|
|Component:||MythTV - Audio Output||Version:||Unspecified|
In setupwizard_audio.cpp gcc produces the warning: setupwizard_audio.cpp:237:9: warning: variable ‘dtshdState’ set but not used [-W unused-but-set-variable]
While many of these are set but not used messages are essentially uninteresting, in this case the variable appears to have been intended to be used in the next line to save the state, and instead a different variable was used in the saving of the setting.
From a cursory examination, it appears that during the copy/paste/edit of the code fragments, this particular edit was overlooked.