[nautilus] places-sidebar: remove unused variable



commit 8efb55bc266f8b471059b9bc83de19f4085fef48
Author: Xan Lopez <xan gnome org>
Date:   Sun Jan 16 02:57:06 2011 +0100

    places-sidebar: remove unused variable
    
    It was being freed uninitialized, which caused a warning (and a build
    failure with -Werror).

 src/nautilus-places-sidebar.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-places-sidebar.c b/src/nautilus-places-sidebar.c
index 48ba769..e0a719e 100644
--- a/src/nautilus-places-sidebar.c
+++ b/src/nautilus-places-sidebar.c
@@ -1260,7 +1260,7 @@ bookmarks_drop_uris (NautilusPlacesSidebar *sidebar,
 {
 	NautilusBookmark *bookmark;
 	NautilusFile *file;
-	char *uri, *name;
+	char *uri;
 	char **uris;
 	int i;
 	GFile *location;
@@ -1290,7 +1290,6 @@ bookmarks_drop_uris (NautilusPlacesSidebar *sidebar,
 
 		g_object_unref (location);
 		g_object_unref (bookmark);
-		g_free (name);
 		g_free (uri);
 	}
 



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