From 16a32f259c727715e3f79de6143206213d15e791 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Wed, 6 May 2020 01:19:07 +0200 Subject: [PATCH] remove 2 warnings --- src/x11screen.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/x11screen.c b/src/x11screen.c index 2fbbcc29..ecb66da7 100644 --- a/src/x11screen.c +++ b/src/x11screen.c @@ -26,6 +26,7 @@ #include #include #include +#include #include "screen.h" #include "gfx2surface.h" #include "loadsave.h" @@ -355,6 +356,7 @@ int GFX2_MessageBox(const char * text, const char * caption, unsigned int type) Atom wmDelete, atoms[2]; char * atom_name; + (void)type; if (X11_display == NULL) X11_display = XOpenDisplay(NULL);// NULL is equivalent to getenv("DISPLAY") if (X11_display == NULL)