projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fbb50b
)
egl: Silence uninitialized variable warnings.
author
Vinson Lee
<vlee@vmware.com>
Fri, 14 May 2010 15:58:23 +0000
(08:58 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Fri, 14 May 2010 15:59:42 +0000
(08:59 -0700)
src/egl/main/eglapi.c
patch
|
blob
|
history
diff --git
a/src/egl/main/eglapi.c
b/src/egl/main/eglapi.c
index 923992da48bc3c47bdbf6bbf65938daf789fc3e2..1a533e0880ba9a61b867dbe90e3d50d6ee7ccf1d 100644
(file)
--- 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);