[gnome-software/wip/kalev/gnome-3-22: 49/96] trivial: Fix a -Wimplicit-fallthrough warning with gcc 7



commit 7418f0f34ba04dbc165b6799532aa081aa18c32f
Author: Kalev Lember <klember redhat com>
Date:   Sun Jan 29 14:46:31 2017 +0100

    trivial: Fix a -Wimplicit-fallthrough warning with gcc 7

 src/gs-shell-details.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-shell-details.c b/src/gs-shell-details.c
index 83be20f..0bab334 100644
--- a/src/gs-shell-details.c
+++ b/src/gs-shell-details.c
@@ -427,6 +427,7 @@ gs_shell_details_refresh_progress (GsShellDetails *self)
                        gtk_widget_set_visible (self->progressbar_top, TRUE);
                        break;
                }
+               /* FALLTHROUGH */
        default:
                gtk_widget_set_visible (self->label_progress_percentage, FALSE);
                gtk_widget_set_visible (self->progressbar_top, FALSE);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]