egl: move fallthrough comment so gcc can see it
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 1 Jul 2020 06:48:43 +0000 (16:48 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Thu, 2 Jul 2020 02:11:30 +0000 (12:11 +1000)
Acked-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5714>

src/egl/main/egldevice.c

index 415b0508888d075cdb825a8155d662b70782122a..cdb8f361acb640b26301dc613002a7d2f156228b 100644 (file)
@@ -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;