From e418416c77e1ec00d987d788662a5b17648258a8 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 23 Oct 2017 09:46:02 +0100 Subject: Squash remaining GCC7 -Wimplicit-fallthrough warnings. --- frontends/gtk/download.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'frontends') diff --git a/frontends/gtk/download.c b/frontends/gtk/download.c index 576960271..d11036ea8 100644 --- a/frontends/gtk/download.c +++ b/frontends/gtk/download.c @@ -331,6 +331,7 @@ static gboolean nsgtk_download_update(gboolean force_update) switch (dl->status) { case NSGTK_DOWNLOAD_WORKING: pulse_mode = TRUE; + /* Fall through */ case NSGTK_DOWNLOAD_NONE: dl->speed = dl->size_downloaded / @@ -347,6 +348,7 @@ static gboolean nsgtk_download_update(gboolean force_update) nsgtk_downloads_num_active++; update = TRUE; + /* Fall through */ case NSGTK_DOWNLOAD_COMPLETE: downloaded += dl->size_downloaded; -- cgit v1.2.3