[tracker/tracker-0.8] TrackerConfig: remove unused variable.
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.8] TrackerConfig: remove unused variable.
- Date: Thu, 6 May 2010 17:55:49 +0000 (UTC)
commit e540086acea35928e9c396dffafd017ac3706126
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue May 4 12:15:45 2010 +0200
TrackerConfig: remove unused variable.
src/miners/fs/tracker-config.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/miners/fs/tracker-config.c b/src/miners/fs/tracker-config.c
index da0a387..7e55b87 100644
--- a/src/miners/fs/tracker-config.c
+++ b/src/miners/fs/tracker-config.c
@@ -998,7 +998,6 @@ config_save (TrackerConfig *config)
g_object_get (config, conversions[i].property, &dirs, NULL);
for (l = dirs; l; l = l->next) {
- const gchar *dir;
const gchar *path_to_use;
/* FIXME: This doesn't work
@@ -1008,8 +1007,6 @@ config_save (TrackerConfig *config)
* breaks. Need a better
* solution at some point.
*/
-
- dir = g_get_user_special_dir (G_USER_DIRECTORY_DESKTOP);
if (g_strcmp0 (l->data, g_get_user_special_dir (G_USER_DIRECTORY_DESKTOP)) == 0) {
path_to_use = "&DESKTOP";
} else if (g_strcmp0 (l->data, g_get_user_special_dir (G_USER_DIRECTORY_DOCUMENTS)) == 0) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]