summaryrefslogtreecommitdiff
path: root/daemon/gvfsbackendsftp.c
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2011-03-17 19:01:17 +0100
committerTomas Bzatek <tbzatek@redhat.com>2011-03-17 19:01:17 +0100
commit08120de3bdf768ed6d1a935ce05b64f9ddecadc0 (patch)
treebff58f236ff267fe21c377f488f11ea08544c0c9 /daemon/gvfsbackendsftp.c
parentcdc5849ea5067573a278c7d5f1a21c14c5b0686a (diff)
downloadgvfs-08120de3bdf768ed6d1a935ce05b64f9ddecadc0.tar.gz
Cleanups and fixes for compiler warnings
https://bugzilla.gnome.org/show_bug.cgi?id=641856
Diffstat (limited to 'daemon/gvfsbackendsftp.c')
-rw-r--r--daemon/gvfsbackendsftp.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/daemon/gvfsbackendsftp.c b/daemon/gvfsbackendsftp.c
index ff448287..580d3807 100644
--- a/daemon/gvfsbackendsftp.c
+++ b/daemon/gvfsbackendsftp.c
@@ -3209,9 +3209,7 @@ replace_truncate_original (GVfsBackendSftp *backend,
{
GVfsJobOpenForWrite *op_job;
GDataOutputStream *command;
- ReplaceData *data;
- data = job->backend_data;
op_job = G_VFS_JOB_OPEN_FOR_WRITE (job);
command = new_command_stream (backend,
@@ -4031,9 +4029,7 @@ query_info_reply (GVfsBackendSftp *backend,
if (reply->type == SSH_FXP_NAME)
{
char *symlink_target;
- guint32 count;
- count = g_data_input_stream_read_uint32 (reply->data, NULL, NULL);
symlink_target = read_string (reply->data, NULL);
g_file_info_set_symlink_target (op_job->file_info, symlink_target);
g_free (symlink_target);