Signed-off-by: Eric Engestrom <eric.engest...@imgtec.com>
---
 drm-legacy.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drm-legacy.c b/drm-legacy.c
index 2392a3d..8e49075 100644
--- a/drm-legacy.c
+++ b/drm-legacy.c
@@ -33,6 +33,9 @@ static struct drm drm;
 static void page_flip_handler(int fd, unsigned int frame,
                  unsigned int sec, unsigned int usec, void *data)
 {
+       /* suppress 'unused parameter' warnings */
+       (void)fd, (void)frame, (void)sec, (void)usec;
+
        int *waiting_for_flip = data;
        *waiting_for_flip = 0;
 }
-- 
Cheers,
  Eric

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to