[nautilus] application: Remove leftover variable



commit 6b5c1cca1f118cf0da7c0de5122f12cd6005c60b
Author: António Fernandes <antoniojpfernandes gmail com>
Date:   Sat Jan 27 14:44:23 2018 +0000

    application: Remove leftover variable
    
    This is not used since commit eed53461de1c5b39c11dcef05766fbf8875e99cf
    
    The compiler complains with [-Wunused-but-set-variable].
    
    Remove it.

 src/nautilus-application.c | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/src/nautilus-application.c b/src/nautilus-application.c
index d64f1be56..61d980863 100644
--- a/src/nautilus-application.c
+++ b/src/nautilus-application.c
@@ -240,10 +240,8 @@ NautilusWindow *
 nautilus_application_create_window (NautilusApplication *self,
                                     GdkScreen           *screen)
 {
-    NautilusApplicationPrivate *priv;
     NautilusWindow *window;
     gboolean maximized;
-    gint n_windows;
     g_autoptr (GVariant) default_size = NULL;
     gint default_width = 0;
     gint default_height = 0;
@@ -251,8 +249,6 @@ nautilus_application_create_window (NautilusApplication *self,
     g_return_val_if_fail (NAUTILUS_IS_APPLICATION (self), NULL);
     nautilus_profile_start (NULL);
 
-    priv = nautilus_application_get_instance_private (self);
-    n_windows = g_list_length (priv->windows);
     window = nautilus_window_new (screen);
 
     maximized = g_settings_get_boolean


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