From 12297f1f98c5daf177938b2598e6fb8ed97a9a66 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Fri, 14 May 2010 08:58:23 -0700 Subject: [PATCH] egl: Silence uninitialized variable warnings. --- src/egl/main/eglapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/egl/main/eglapi.c b/src/egl/main/eglapi.c index 923992da48b..1a533e0880b 100644 --- a/src/egl/main/eglapi.c +++ b/src/egl/main/eglapi.c @@ -261,7 +261,7 @@ EGLBoolean EGLAPIENTRY eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor) { _EGLDisplay *disp = _eglLockDisplay(dpy); - EGLint major_int, minor_int; + EGLint major_int = 0, minor_int = 0; if (!disp) RETURN_EGL_ERROR(NULL, EGL_BAD_DISPLAY, EGL_FALSE); -- 2.30.2