egl: drop an indentation level in _eglFindDisplay() by replacing break/if with a...
authorEric Engestrom <eric@engestrom.ch>
Tue, 18 Aug 2020 09:45:34 +0000 (11:45 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 19 Aug 2020 22:10:06 +0000 (22:10 +0000)
commit8b2fc1d1b5a822692321af1a2a01dddbc9cff356
tree166ea945b2a4f78e827f2d106d032bd407aa8caa
parentb5d36e9cb6c73c6e4eea4df247ded96535abae18
egl: drop an indentation level in _eglFindDisplay() by replacing break/if with a goto

Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6361>
src/egl/main/egldisplay.c