[gvfs] Fix warning



commit 25abd8b5b131684a3d6e4016f0c163cf963c9710
Author: Alexander Larsson <alexl redhat com>
Date:   Tue Dec 1 11:12:02 2009 +0100

    Fix warning

 daemon/mount.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/daemon/mount.c b/daemon/mount.c
index 31d6cb2..c995f3b 100644
--- a/daemon/mount.c
+++ b/daemon/mount.c
@@ -675,7 +675,8 @@ register_mount (DBusConnection *connection,
   DBusMessage *reply;
   DBusError error;
   const char *display_name, *stable_name, *x_content_types, *icon, *obj_path;
-  const char *id, *prefered_filename_encoding, *default_location;
+  const char *id, *prefered_filename_encoding;
+  char *default_location;
   dbus_bool_t user_visible;
   DBusMessageIter iter;
   GMountSpec *mount_spec;



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