summaryrefslogtreecommitdiff
path: root/glamor
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2017-01-02 15:38:08 -0500
committerAdam Jackson <ajax@redhat.com>2017-01-02 15:38:45 -0500
commit29a4f3db60fdeaef7bca3aa2746bb43a1850fddd (patch)
treea1cacdcafd586c5bffa9cd29304be495989b811c /glamor
parent9874f73e88678c9eacbcba05e52336fc63a32712 (diff)
glamor: Squash unused variable warning
Accidentally introduced in 05e19644. Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'glamor')
-rw-r--r--glamor/glamor_egl.h2
1 files changed, 0 insertions, 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 =