Author: tfaber Date: Wed Apr 19 13:16:30 2017 New Revision: 74376
URL: http://svn.reactos.org/svn/reactos?rev=74376&view=rev Log: [OPENGL32] - Fix uninitialized variable use in IntGetIcdData CORE-11474
Modified: trunk/reactos/dll/opengl/opengl32/icdload.c
Modified: trunk/reactos/dll/opengl/opengl32/icdload.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/opengl32/icdload... ============================================================================== --- trunk/reactos/dll/opengl/opengl32/icdload.c [iso-8859-1] (original) +++ trunk/reactos/dll/opengl/opengl32/icdload.c [iso-8859-1] Wed Apr 19 13:16:30 2017 @@ -61,7 +61,8 @@ Drv_Opengl_Info DrvInfo; pDrv_Opengl_Info pDrvInfo; struct ICD_Data* data; - HKEY OglKey, DrvKey, CustomKey; + HKEY OglKey = NULL; + HKEY DrvKey, CustomKey; WCHAR DllName[MAX_PATH]; BOOL (WINAPI *DrvValidateVersion)(DWORD); void (WINAPI *DrvSetCallbackProcs)(int nProcs, PROC* pProcs);