[gnome-software/gnome-3-14] trivial: Fix a missing case statement



commit e397143ea480f4fa201b0427ee941fe5232d04af
Author: Richard Hughes <richard hughsie com>
Date:   Wed Jun 17 13:05:09 2015 +0100

    trivial: Fix a missing case statement
    
    Found by coverity.

 src/gs-shell-updates.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-shell-updates.c b/src/gs-shell-updates.c
index aadc5f9..d1a0231 100644
--- a/src/gs-shell-updates.c
+++ b/src/gs-shell-updates.c
@@ -257,6 +257,7 @@ gs_shell_updates_update_ui_state (GsShellUpdates *shell_updates)
                                       _("(This could take a while)"));
                gtk_label_set_label (GTK_LABEL (priv->label_updates_spinner), tmp);
                g_free (tmp);
+               break;
        case GS_SHELL_UPDATES_STATE_ACTION_REFRESH_NO_UPDATES:
                tmp = g_strdup_printf ("%s\n%s",
                                       gs_shell_updates_get_state_string (priv->last_status),


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