summaryrefslogtreecommitdiff
path: root/daemon
diff options
context:
space:
mode:
authorOndrej Holy <oholy@redhat.com>2016-09-14 14:29:28 +0200
committerOndrej Holy <oholy@redhat.com>2016-10-03 16:40:40 +0200
commitdaeed4670708b92dd28ec089de732bec8258ef7a (patch)
tree6f884f6f7301bde54d902a108a2188dbb777ef59 /daemon
parent19a85c3b1176b91acb9f16f137823e1fb74320bd (diff)
downloadgvfs-daeed4670708b92dd28ec089de732bec8258ef7a.tar.gz
smb: Remove some redundant code
Remove some ancient comments, dead code, or duplicated code. https://bugzilla.gnome.org/show_bug.cgi?id=771483
Diffstat (limited to 'daemon')
-rw-r--r--daemon/gvfsbackendsmb.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/daemon/gvfsbackendsmb.c b/daemon/gvfsbackendsmb.c
index 7a38a0a3..14608611 100644
--- a/daemon/gvfsbackendsmb.c
+++ b/daemon/gvfsbackendsmb.c
@@ -552,7 +552,6 @@ do_mount (GVfsBackend *backend,
smbc_setFunctionRemoveCachedServer (smb_context, remove_cached_server);
smbc_setFunctionPurgeCachedServers (smb_context, purge_cached);
- /* FIXME: is strdup() still needed here? -- removed */
if (op_backend->default_workgroup != NULL)
smbc_setWorkgroup (smb_context, op_backend->default_workgroup);
@@ -565,11 +564,6 @@ do_mount (GVfsBackend *backend,
op_backend->user != NULL);
smbc_setOptionNoAutoAnonymousLogin (smb_context, TRUE);
-
-#if 0
- smbc_setOptionDebugToStderr (smb_context, 1);
-#endif
-
if (!smbc_init_context (smb_context))
{
g_vfs_job_failed (G_VFS_JOB (job),
@@ -671,8 +665,6 @@ do_mount (GVfsBackend *backend,
if (res != 0)
{
- op_backend->mount_source = NULL;
-
if (op_backend->mount_cancelled)
g_vfs_job_failed (G_VFS_JOB (job),
G_IO_ERROR, G_IO_ERROR_FAILED_HANDLED,