summaryrefslogtreecommitdiff
path: root/src/caja-application.c
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-03-05 02:14:49 +0100
committerZenWalker <[email protected]>2019-03-07 00:00:20 +0100
commitfc9a637006bab37dbb73c678983032111831a623 (patch)
treecd6e7ccb63135b737b244a89f0589603e3aecf1c /src/caja-application.c
parentee16c212d5ce11f6d782f86bb62302356b163462 (diff)
downloadcaja-fc9a637006bab37dbb73c678983032111831a623.tar.bz2
caja-fc9a637006bab37dbb73c678983032111831a623.tar.xz
avoid variables set but not used
Diffstat (limited to 'src/caja-application.c')
-rw-r--r--src/caja-application.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/caja-application.c b/src/caja-application.c
index c82f5ec1..ed4eaca9 100644
--- a/src/caja-application.c
+++ b/src/caja-application.c
@@ -1367,10 +1367,8 @@ autorun_show_window (GMount *mount, gpointer user_data)
GFile *location;
CajaApplication *application = user_data;
CajaWindow *window;
- gboolean existing;
location = g_mount_get_root (mount);
- existing = FALSE;
/* There should probably be an easier way to do this */
if (g_settings_get_boolean (caja_preferences, CAJA_PREFERENCES_ALWAYS_USE_BROWSER)) {
@@ -2349,7 +2347,6 @@ init_gtk_accels (void)
static void
caja_application_startup (GApplication *app)
{
- GList *drives;
CajaApplication *self = CAJA_APPLICATION (app);
GApplication *instance;
gboolean exit_with_last_window;
@@ -2422,7 +2419,6 @@ caja_application_startup (GApplication *app)
G_CALLBACK (drive_connected_callback), self, 0);
/* listen for eject button presses */
- drives = g_volume_monitor_get_connected_drives ( self->priv->volume_monitor);
self->automount_idle_id =
g_idle_add_full (G_PRIORITY_LOW,
automount_all_volumes_idle_cb,