[tracker/miner-web-review: 13/74] libtracker-miner: Removed unused code in storage module



commit cd6a1df112eda175b5d48e721d09dfb414cfc741
Author: Martyn Russell <martyn lanedo com>
Date:   Tue Feb 23 16:14:51 2010 +0000

    libtracker-miner: Removed unused code in storage module

 src/libtracker-miner/tracker-storage.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-storage.c b/src/libtracker-miner/tracker-storage.c
index 02caf75..099b00f 100644
--- a/src/libtracker-miner/tracker-storage.c
+++ b/src/libtracker-miner/tracker-storage.c
@@ -492,10 +492,6 @@ mount_removed_cb (GVolumeMonitor *monitor,
 	mount_point = g_file_get_path (file);
 	name = g_mount_get_name (mount);
 
-	/* device_file = g_volume_get_identifier (volume, G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE); */
-	/* uuid = g_volume_get_identifier (volume, G_VOLUME_IDENTIFIER_KIND_UUID); */
-	/* node = g_hash_table_lookup (priv->mounts_by_uuid, uuid); */
-
 	mp = mount_point_normalize (mount_point);
 	node = mount_node_find (priv->mounts, mp);
 	g_free (mp);
@@ -521,8 +517,6 @@ mount_removed_cb (GVolumeMonitor *monitor,
 	g_free (name);
 	g_free (mount_point);
 	g_object_unref (file);
-	/* g_free (uuid); */
-	/* g_free (device_file); */
 }
 
 static void



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