From b8409a6af779a53cbb59680ce45b5a0b5c7cd86c Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Wed, 1 Jul 2020 16:48:43 +1000 Subject: [PATCH] egl: move fallthrough comment so gcc can see it Acked-by: Eric Engestrom Part-of: --- src/egl/main/egldevice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2