[mythtv-commits] Ticket #4938: second check of length is superflous
MythTV
mythtv at cvs.mythtv.org
Wed Mar 12 15:37:26 UTC 2008
#4938: second check of length is superflous
---------------------------------------------+------------------------------
Reporter: Erik Hovland <erik at hovland.org> | Owner: ijr
Type: defect | Status: new
Priority: trivial | Milestone: unknown
Component: mythtv | Version: head
Severity: low | Mlocked: 0
---------------------------------------------+------------------------------
In MHIContext::SetNetBootInfo() the length given is checked and if it is
not the right size the function returns. The call goes on to check length
again. It is likely that the first check was added later. But since it is
there the second check doesn't make any sense. So it should be removed.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/4938>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list