[mythtv-commits] Ticket #11660: Patch to initialize Initialize member variables in MythRenderOpenGL ctor - fixes Coverity 700926 and 700927
MythTV
noreply at mythtv.org
Thu Jul 11 02:34:10 UTC 2013
#11660: Patch to initialize Initialize member variables in MythRenderOpenGL ctor -
fixes Coverity 700926 and 700927
-------------------------------------+-------------------------------------
Reporter: Gary Buhrmaster | Type: Patch - Bug Fix
<gary.buhrmaster@…> | Priority: minor
Status: new | Component: MythTV - User
Milestone: unknown | Interface Library
Version: Master Head | Severity: medium
Keywords: | Ticket locked: 0
-------------------------------------+-------------------------------------
Static analysis detected that the member variables were not being
initialized in the MythRenderOpenGL ctor.
In actuality, after the OpenGL re-factor, the code appears to result in
the ResetVars and ResetProcs functions being called from the ctors of
MythRenderOpenGL[12], but invoke them explicitly in the ctor to keep
Coverity happy.
Fixes Coverity 700926 and 700927
github ref:
https://github.com/garybuhrmaster/mythtv/commit/99e0e577d7f5aa789fbeabffae8b989a61a72288
github git-am ref:
https://github.com/garybuhrmaster/mythtv/commit/99e0e577d7f5aa789fbeabffae8b989a61a72288.patch
--
Ticket URL: <http://code.mythtv.org/trac/ticket/11660>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list