[mythtv-commits] Ticket #4826: remove useless check of mytcontextprivate pointer 'd'
MythTV
mythtv at cvs.mythtv.org
Mon Mar 3 16:48:23 UTC 2008
#4826: remove useless check of mytcontextprivate pointer 'd'
---------------------------------------------+------------------------------
Reporter: Erik Hovland <erik at hovland.org> | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: 0.21
Component: mythtv | Version: 0.21-fixes
Severity: low | Mlocked: 0
---------------------------------------------+------------------------------
In ticket 4745, Isaac correctly pointed out that it is impossible for a
mythcontext object to have a null pointer d since d is new'ed in the
constructor (and it would exception out if the new didn't work). That
means that the checks for 'd' being a null pointer in
MythContext::GetSetting() are useless and should be removed before they
confuse anybody.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/4826>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list