diff options
author | Vinson Lee <vlee@vmware.com> | 2010-05-14 08:58:23 -0700 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2010-05-14 15:04:22 -0400 |
commit | 407ef9b5cc2f1b5d3eaa7fec6f0cd18ff39c0f33 (patch) | |
tree | 32e34da35f6512bf5476f8027fefac6d237bede5 | |
parent | 61cc9a7538f8ebab39f236576114ec30f974d4f5 (diff) |
egl: Silence uninitialized variable warnings.
-rw-r--r-- | src/egl/main/eglapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/main/eglapi.c b/src/egl/main/eglapi.c index 923992da48..1a533e0880 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); |