From 29a4f3db60fdeaef7bca3aa2746bb43a1850fddd Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Mon, 2 Jan 2017 15:38:08 -0500 Subject: [PATCH] glamor: Squash unused variable warning Accidentally introduced in 05e19644. Signed-off-by: Adam Jackson --- glamor/glamor_egl.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/glamor/glamor_egl.h b/glamor/glamor_egl.h index 2c6d3076f..6bb1185bf 100644 --- a/glamor/glamor_egl.h +++ b/glamor/glamor_egl.h @@ -60,8 +60,6 @@ static inline EGLDisplay glamor_egl_get_display(EGLint type, void *native) { - EGLDisplay dpy = NULL; - /* In practise any EGL 1.5 implementation would support the EXT extension */ if (epoxy_has_egl_extension(NULL, "EGL_EXT_platform_base")) { PFNEGLGETPLATFORMDISPLAYEXTPROC getPlatformDisplayEXT =