From a585e36d934fb38ec743f3859183c4dcdca2b75e Mon Sep 17 00:00:00 2001 From: bi4k8 Date: Mon, 12 Dec 2022 20:48:26 +0000 Subject: [PATCH] wayland: permit unused parameters the Wayland callbacks have many params that we don't use; it isn't worthwhile to individually annotate these --- src/display-wayland.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/display-wayland.cc b/src/display-wayland.cc index 3dbcea61..47e2a326 100644 --- a/src/display-wayland.cc +++ b/src/display-wayland.cc @@ -59,6 +59,8 @@ #include "fonts.h" #endif +#pragma GCC diagnostic ignored "-Wunused-parameter" + /* TODO: cleanup global namespace */ #ifdef BUILD_WAYLAND