diff options
-rw-r--r-- | tests/egl/spec/egl_ext_device_drm/egl_ext_device_drm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/egl/spec/egl_ext_device_drm/egl_ext_device_drm.c b/tests/egl/spec/egl_ext_device_drm/egl_ext_device_drm.c index 3877d57d2..537c8b60f 100644 --- a/tests/egl/spec/egl_ext_device_drm/egl_ext_device_drm.c +++ b/tests/egl/spec/egl_ext_device_drm/egl_ext_device_drm.c @@ -39,7 +39,7 @@ main(void) EGLDisplay dpy1, dpy2, dpy3; enum piglit_result result = PIGLIT_PASS; EGLDeviceEXT devs[NDEVS]; - EGLint i, numdevs, drmdevs; + EGLint i, numdevs, drmdevs = 0; EGLDeviceEXT device = EGL_NO_DEVICE_EXT; EGLAttrib attr; const char *devstring = NULL; |