[vlc-commits] xdg-shell: "consume" unused value

Rémi Denis-Courmont git at videolan.org
Sun Mar 3 10:25:16 CET 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Mar  3 11:04:43 2019 +0200| [eec58944ec38debb1ff3b94e65691e72c0b14830] | committer: Rémi Denis-Courmont

xdg-shell: "consume" unused value

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=eec58944ec38debb1ff3b94e65691e72c0b14830
---

 modules/video_output/wayland/xdg-shell.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_output/wayland/xdg-shell.c b/modules/video_output/wayland/xdg-shell.c
index 0e440ef9c1..fe7e54f9e6 100644
--- a/modules/video_output/wayland/xdg-shell.c
+++ b/modules/video_output/wayland/xdg-shell.c
@@ -240,7 +240,7 @@ static void SetDecoration(vout_window_t *wnd, bool decorated)
         msg_Err(wnd, "server-side decoration not supported");
 }
 #else
-# define SetDecoration(wnd, deco) (wnd, (void)(deco))
+# define SetDecoration(wnd, deco) ((void) wnd, (void)(deco))
 #endif
 
 static int Enable(vout_window_t *wnd, const vout_window_cfg_t *restrict cfg)



More information about the vlc-commits mailing list