[mythtv-commits] Ticket #5646: {trunk} MythXML::GetKeys in mythbackend doesn't actually get any keys
MythTV
mythtv at cvs.mythtv.org
Tue Aug 26 18:59:58 UTC 2008
#5646: {trunk} MythXML::GetKeys in mythbackend doesn't actually get any keys
-----------------------+----------------------------------------------------
Reporter: anonymous | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Mlocked: 0
-----------------------+----------------------------------------------------
When daniel refactor for the Qt4 port the member function GetKeys() added
the variable 'uint nCount'. And it was initialized to zero. That variable
is not made part of the HTTPRequest or the query so it is never updated.
Then a little later a test is made to see if nCounts is zero (which it
still is) and GetKeys returns w/out ever updating the list with the keys
and the count.
This gets recognized as a dead code defect in the static analysis checker.
But this is likely a deeper bug.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5646>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list