[gvfs/mtp-backend: 50/64] MTP: Review feedback: Remove redundant lines.



commit e2c2480d2a86ed06985132f05f00bf2b9758479e
Author: Philip Langdale <philipl overt org>
Date:   Wed Jan 2 16:49:54 2013 -0800

    MTP: Review feedback: Remove redundant lines.

 daemon/gvfsbackendmtp.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/daemon/gvfsbackendmtp.c b/daemon/gvfsbackendmtp.c
index b7d1166..9e6b434 100644
--- a/daemon/gvfsbackendmtp.c
+++ b/daemon/gvfsbackendmtp.c
@@ -600,7 +600,6 @@ get_device_info (GVfsBackendMtp *backend, GFileInfo *info)
                                       _("Unnamed Device") : friendlyname);
   free (friendlyname);
 
-  g_file_info_set_file_type (info, G_FILE_TYPE_DIRECTORY);
   g_file_info_set_content_type (info, "inode/directory");
   g_file_info_set_size (info, 0);
 
@@ -728,7 +727,6 @@ get_file_info (GVfsBackend *backend,
       LIBMTP_FILETYPE_IS_AUDIOVIDEO (file->filetype)) {
 
     char *icon_id;
-    GIcon *icon;
     GMountSpec *mount_spec;
 
     mount_spec = g_vfs_backend_get_mount_spec (backend);



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