egl/dri2: Mark potentially unused 'display' variable with MAYBE_UNUSED
authorKristian H. Kristensen <hoegsberg@google.com>
Thu, 18 Apr 2019 18:30:22 +0000 (11:30 -0700)
committerKristian H. Kristensen <hoegsberg@gmail.com>
Fri, 19 Apr 2019 16:17:37 +0000 (16:17 +0000)
commit0719fc4c31565a1bfc2188030fd59e0519f18c6d
tree4c91bfff691825e0831e4fad507cd042bae0b729
parentb5a3567b51824b7907d757b4bef5348fa864c7b3
egl/dri2: Mark potentially unused 'display' variable with MAYBE_UNUSED

Sometimes there is no X11 platform.

Signed-off-by: Kristian H. Kristensen <hoegsberg@google.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/egl/drivers/dri2/egl_dri2.c