[mythtv] [mythtv-commits] Ticket #2142: DiSEqC without switch breaks recording

Yeasah Pell yeasah at schwide.com
Fri Aug 11 13:53:39 UTC 2006


Stuart Auchterlonie wrote:
> On Fri, Aug 11, 2006 at 09:18:04AM -0400, Yeasah Pell wrote:
>   
>> I did attach a patch  for #2142 yesterday -- I guess I should have added 
>> a comment too instead of just adding a patch, seems like that action is 
>> somewhat "stealth" :-)
>>     
>
> Are these on the TODO list?
>
> diseqcsettings.cpp: In member function 'void LNBConfig::UpdateType()':
> diseqcsettings.cpp:705: warning: enumeration value 'kTypeLegacySW42' not handled in switch
> diseqcsettings.cpp:705: warning: enumeration value 'kTypeLegacySW64' not handled in switch
>
>   
I don't get those warnings, I notice that -Wno-switch is being passed 
during the build. Is there an easy way to turn that off?

Anyway, that warning is caused by an incorrect cast there -- the switch 
value should be casted to DiSEqCDevLNB::dvbdev_lnb_t, looks like a 
copy&paste error from the switch section.

-y


More information about the mythtv-dev mailing list