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

Bill Stewart wstewart at hgrace.com
Mon Apr 20 03:51:08 UTC 2009


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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-dev/attachments/20090419/afd0d480/attachment.htm>


More information about the mythtv-dev mailing list