[gnome-software/gnome-3-30] trivial: Fix an unused variable compiler warning



commit 902fd2f9611c77302c7033ce2f1786844bbb0a63
Author: Kalev Lember <klember redhat com>
Date:   Mon Oct 15 16:37:34 2018 +0200

    trivial: Fix an unused variable compiler warning

 src/gs-shell.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/src/gs-shell.c b/src/gs-shell.c
index 6895f927..8f066ba5 100644
--- a/src/gs-shell.c
+++ b/src/gs-shell.c
@@ -823,7 +823,6 @@ static gboolean
 main_window_closed_cb (GtkWidget *dialog, GdkEvent *event, gpointer user_data)
 {
        GsShell *shell = user_data;
-       GsShellPrivate *priv = gs_shell_get_instance_private (shell);
 
        /* hide any notifications */
        g_application_withdraw_notification (g_application_get_default (),


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