[mythtv] New Guidegrid code for mythui: channel change dead code?

Paul Harrison mythtv at sky.com
Sun May 3 10:00:38 UTC 2009


Bill Stewart wrote:
> Seems that channel changes occur directly in the new guidegrid.cpp in
> SVN.  There seems to be dead code in tv_play.cpp.
>  
> line 7690: DBChanList changeChannel;
>  
> declares a variable that is never changed:
>  
> Also:
>  
> line 7751:         if (isLiveTV && changeChannel.size())
> line 7752:             ChangeChannel(actx, changeChannel);
>  
> Since changelChannel is never updated, this if statement is never true.
Thanks Bill it's been removed.  Most of that would have been  removed 
when Stuart finishes the schedule editor and we do the final clean up
after everything is switch to MythUI but thanks anyway.

Paul H.


More information about the mythtv-dev mailing list