summaryrefslogtreecommitdiff
path: root/src/nautilus-application.c
diff options
context:
space:
mode:
authorAntónio Fernandes <antoniojpfernandes@gmail.com>2018-01-27 14:44:23 +0000
committerAntónio Fernandes <antoniojpfernandes@gmail.com>2018-01-27 14:44:23 +0000
commit6b5c1cca1f118cf0da7c0de5122f12cd6005c60b (patch)
treedd55f131be2e385d9d23705e190b9a80ff07c671 /src/nautilus-application.c
parent98543a3a04de23d4588cf13c2e1ced48e5099ee3 (diff)
downloadnautilus-6b5c1cca1f118cf0da7c0de5122f12cd6005c60b.tar.gz
application: Remove leftover variable
This is not used since commit eed53461de1c5b39c11dcef05766fbf8875e99cf The compiler complains with [-Wunused-but-set-variable]. Remove it.
Diffstat (limited to 'src/nautilus-application.c')
-rw-r--r--src/nautilus-application.c4
1 files changed, 0 insertions, 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