[gvfs] afp: Remove unused variable



commit dd03740d26da5d730d91c2c9bec3257b009380a4
Author: Ross Lagerwall <rosslagerwall gmail com>
Date:   Mon Dec 9 06:26:53 2013 +0200

    afp: Remove unused variable
    
    Remove a set but not used variable caused by 91cf41328a2d (afp: Don't
    free the handle if truncate fails).

 daemon/gvfsbackendafp.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gvfsbackendafp.c b/daemon/gvfsbackendafp.c
index 13af158..21825d4 100644
--- a/daemon/gvfsbackendafp.c
+++ b/daemon/gvfsbackendafp.c
@@ -783,7 +783,6 @@ truncate_cb (GObject *source_object, GAsyncResult *res, gpointer user_data)
 {
   GVfsAfpVolume *volume = G_VFS_AFP_VOLUME (source_object);
   GVfsJobTruncate *job = G_VFS_JOB_TRUNCATE (user_data);
-  AfpHandle *afp_handle = (AfpHandle *)job->handle;
 
   GError *err = NULL;
 


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