[mythtv] old_xmltvid ?

Ronald Frazier ron at ronfrazier.net
Fri May 8 11:39:51 UTC 2009


On Thu, May 7, 2009 at 4:42 PM, Laurent ARNAL <laurent at clae.net> wrote:
> What strange is that I don't see where this old_xmltvid is coming from.
> There is a ChanInfo constructor wich take the old_xmltvid in parameter, but
> I can't see anywhere a call to this constructor.
>
> Do someone know how it may work ?

I'm pretty sure it's just some old legacy code that never got cleaned
up. A grep of the entire mythtv source shows that the only assignment
to old_xmltvid is in that constructor. It doesn't even matter if that
constructor (which is a copy constructor) is called from anywhere,
because without there being any assignment to such a variable, there's
no way the source object that's being copied could have had its
old_xmltvid variable set.

Of course, since that's a public member, it could be set by anything
that wanted to set it. It's possible there is some plugin out there
that use it but isn't part of the main myth cvs tree, and perhaps the
code was intentionally left in to keep that plugin working, but I
doubt it (I don't think the devs would make an intentional effort to
put code in the main cvs tree for a plugin that isn't official).

-- 
Ron


More information about the mythtv-dev mailing list