From 3e3f06a7beda922645a22255afd9e6b4f409f8f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolfo=20Garc=C3=ADa=20Pe=C3=B1as=20=28kix=29?= Date: Wed, 19 Jun 2019 21:10:59 +0200 Subject: [PATCH] widgets.c Removes implicit-fallthrough warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch removes this warning: widgets.c: In function `renderPixmap': widgets.c:385:8: warning: this statement may fall through [-Wimplicit-fallthrough=] if (mask) ^ widgets.c:388:4: note: here case '.': ^~~~ Signed-off-by: Rodolfo García Peñas (kix) --- WINGs/widgets.c | 1 + 1 file changed, 1 insertion(+) diff --git a/WINGs/widgets.c b/WINGs/widgets.c index 177ad3ca..16cbfaea 100644 --- a/WINGs/widgets.c +++ b/WINGs/widgets.c @@ -385,6 +385,7 @@ static void renderPixmap(W_Screen * screen, Pixmap d, Pixmap mask, char **data, if (mask) XDrawPoint(screen->display, mask, screen->monoGC, x, y); + /* FALLTHRU */ case '.': case 'l': XDrawPoint(screen->display, d, lightGC, x, y);