summaryrefslogtreecommitdiff
path: root/monitor
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2013-03-14 11:28:06 +0100
committerBastien Nocera <hadess@hadess.net>2013-04-02 15:54:59 +0200
commit421ce4a6b4526047fde9d8d039a66b520eb09f3f (patch)
treefd4720a187328381b7549731290f21d948460ac2 /monitor
parent070294d1bac480f45eb4b5573d4aa6b8380e7fdc (diff)
downloadgvfs-421ce4a6b4526047fde9d8d039a66b520eb09f3f.tar.gz
Fix compiler warnings
https://bugzilla.gnome.org/show_bug.cgi?id=695834
Diffstat (limited to 'monitor')
-rw-r--r--monitor/goa/goavolume.c8
-rw-r--r--monitor/udisks2/gvfsudisks2volume.c2
2 files changed, 0 insertions, 10 deletions
diff --git a/monitor/goa/goavolume.c b/monitor/goa/goavolume.c
index 41334a96..d8421a92 100644
--- a/monitor/goa/goavolume.c
+++ b/monitor/goa/goavolume.c
@@ -137,10 +137,8 @@ find_enclosing_mount_cb (GObject *source_object, GAsyncResult *res, gpointer use
GSimpleAsyncResult *simple = user_data;
GVfsGoaVolume *self;
GError *error;
- MountOp *data;
self = G_VFS_GOA_VOLUME (g_async_result_get_source_object (G_ASYNC_RESULT (simple)));
- data = g_async_result_get_user_data (G_ASYNC_RESULT (simple));
error = NULL;
g_clear_object (&self->mount);
@@ -156,12 +154,7 @@ mount_enclosing_volume_cb (GObject *source_object, GAsyncResult *res, gpointer u
{
GFile *root = G_FILE (source_object);
GSimpleAsyncResult *simple = user_data;
- GVfsGoaVolume *self;
GError *error;
- MountOp *data;
-
- self = G_VFS_GOA_VOLUME (g_async_result_get_source_object (G_ASYNC_RESULT (simple)));
- data = g_async_result_get_user_data (G_ASYNC_RESULT (simple));
error = NULL;
if (!g_file_mount_enclosing_volume_finish (root, res, &error))
@@ -292,7 +285,6 @@ g_vfs_goa_volume_can_mount (GVolume *_self)
static char **
g_vfs_goa_volume_enumerate_identifiers (GVolume *_self)
{
- GVfsGoaVolume *self = G_VFS_GOA_VOLUME (_self);
GPtrArray *res;
res = g_ptr_array_new ();
diff --git a/monitor/udisks2/gvfsudisks2volume.c b/monitor/udisks2/gvfsudisks2volume.c
index 763c514e..6091a273 100644
--- a/monitor/udisks2/gvfsudisks2volume.c
+++ b/monitor/udisks2/gvfsudisks2volume.c
@@ -212,7 +212,6 @@ update_volume (GVfsUDisks2Volume *volume)
gchar *old_device_file;
dev_t old_dev;
GIcon *old_icon;
- GIcon *old_symbolic_icon;
UDisksDrive *udisks_drive;
gchar *s;
@@ -227,7 +226,6 @@ update_volume (GVfsUDisks2Volume *volume)
old_device_file = g_strdup (volume->device_file);
old_dev = volume->dev;
old_icon = volume->icon != NULL ? g_object_ref (volume->icon) : NULL;
- old_symbolic_icon = volume->symbolic_icon != NULL ? g_object_ref (volume->symbolic_icon) : NULL;
/* ---------------------------------------------------------------------------------------------------- */
/* reset */