aboutsummaryrefslogtreecommitdiffstats
path: root/src/egl
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-05-14 08:58:23 -0700
committerVinson Lee <[email protected]>2010-05-14 08:59:42 -0700
commit12297f1f98c5daf177938b2598e6fb8ed97a9a66 (patch)
treeef15ce81a242edea02048efdf2a1cdbdc7bfd75e /src/egl
parent1fbb50b740e9ca97cae13c7cc86505aa21e08e4c (diff)
egl: Silence uninitialized variable warnings.
Diffstat (limited to 'src/egl')
-rw-r--r--src/egl/main/eglapi.c2
1 files changed, 1 insertions, 1 deletions
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);