rgl_ps3_cg: Fix uninitialized variable usage possibility

This commit is contained in:
Lioncash 2014-09-05 19:48:14 -04:00
parent 780688ec92
commit d02980c1d8

View File

@ -3564,7 +3564,7 @@ CGGL_API void cgGLEnableClientState( CGparameter param )
CGGL_API void cgGLDisableClientState( CGparameter param )
{
GLuint index;
CgParameterResource *parameterResource;
CgParameterResource *parameterResource = NULL;
CgRuntimeParameter *_ptr = (CgRuntimeParameter*)rglCgGLTestParameter( param );
if (_ptr)