From: Timothy Arceri Date: Wed, 1 Jul 2020 06:48:43 +0000 (+1000) Subject: egl: move fallthrough comment so gcc can see it X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b8409a6af779a53cbb59680ce45b5a0b5c7cd86c;p=mesa.git egl: move fallthrough comment so gcc can see it Acked-by: Eric Engestrom Part-of: --- diff --git a/src/egl/main/egldevice.c b/src/egl/main/egldevice.c index 415b0508888..cdb8f361acb 100644 --- a/src/egl/main/egldevice.c +++ b/src/egl/main/egldevice.c @@ -239,8 +239,8 @@ _eglQueryDeviceStringEXT(_EGLDevice *dev, EGLint name) case EGL_DRM_DEVICE_FILE_EXT: if (_eglDeviceSupports(dev, _EGL_DEVICE_DRM)) return dev->device->nodes[DRM_NODE_PRIMARY]; - /* fall through */ #endif + /* fall through */ default: _eglError(EGL_BAD_PARAMETER, "eglQueryDeviceStringEXT"); return NULL;