diff options
| author | Shehjar Tikoo <shehjart@zresearch.com> | 2009-04-16 23:59:02 -0700 | 
|---|---|---|
| committer | Anand V. Avati <avati@amp.gluster.com> | 2009-04-17 13:45:01 +0530 | 
| commit | 4e68cf7c4d912556e25eb1226669d7b438ff8a3f (patch) | |
| tree | e394e2399d865946d2d8e91fca52d5bf55bff225 | |
| parent | 27d73ca503b2e508c682fca2848f8ae38390a146 (diff) | |
libglusterfsclient: Remove unused variables
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
| -rwxr-xr-x | libglusterfsclient/src/libglusterfsclient.c | 10 | 
1 files changed, 0 insertions, 10 deletions
diff --git a/libglusterfsclient/src/libglusterfsclient.c b/libglusterfsclient/src/libglusterfsclient.c index bc2f7c4d702..bf4c257046c 100755 --- a/libglusterfsclient/src/libglusterfsclient.c +++ b/libglusterfsclient/src/libglusterfsclient.c @@ -1598,7 +1598,6 @@ glusterfs_open (glusterfs_handle_t handle,          long op_ret = -1;          fd_t *fd = NULL;  	int32_t ret = -1; -	xlator_t *this = NULL;  	libglusterfs_client_ctx_t *ctx = handle;  	char *name = NULL, *pathname = NULL;          libglusterfs_client_inode_ctx_t *inode_ctx = NULL; @@ -1650,7 +1649,6 @@ glusterfs_open (glusterfs_handle_t handle,  		goto out;  	} -	this = ctx->gf_ctx.graph;          fd = fd_create (loc.inode, 0);          fd->flags = flags; @@ -1833,7 +1831,6 @@ glusterfs_setxattr (glusterfs_handle_t handle,  {          int32_t op_ret = -1;          loc_t loc = {0, }; -	xlator_t *this = NULL;  	libglusterfs_client_ctx_t *ctx = handle;  	char *file = NULL; @@ -1861,7 +1858,6 @@ glusterfs_setxattr (glusterfs_handle_t handle,  		goto out;  	} -	this = ctx->gf_ctx.graph;          if (!op_ret)                  op_ret = libgf_client_setxattr (ctx, &loc, name, value, size,                                                  flags); @@ -3024,9 +3020,7 @@ libgf_client_stat (libglusterfs_client_ctx_t *ctx,          time_t prev, current;          libglusterfs_client_inode_ctx_t *inode_ctx = NULL;          libgf_client_local_t *local = NULL; -	xlator_t *this = NULL; -	this = ctx->gf_ctx.graph;          inode_ctx = libgf_get_inode_ctx (loc->inode);          if (!inode_ctx) {                  errno = EINVAL; @@ -3110,7 +3104,6 @@ __glusterfs_stat (glusterfs_handle_t handle, const char *path,          int32_t op_ret = -1;          loc_t loc = {0, };          libglusterfs_client_ctx_t *ctx = handle; -	xlator_t *this = NULL;  	char *name = NULL, *pathname = NULL;          loc_t targetloc = {0, };          loc_t *real_loc = NULL; @@ -3159,7 +3152,6 @@ __glusterfs_stat (glusterfs_handle_t handle, const char *path,  lstat_fop: -	this = ctx->gf_ctx.graph;          if (!op_ret) {                  op_ret = libgf_client_stat (ctx, real_loc, buf);          } @@ -3219,10 +3211,8 @@ libgf_client_fstat (libglusterfs_client_ctx_t *ctx,          time_t current, prev;          libglusterfs_client_inode_ctx_t *inode_ctx = NULL;          libgf_client_local_t *local = NULL; -	xlator_t *this = NULL;          current = time (NULL); -        this = ctx->gf_ctx.graph;          inode_ctx = libgf_get_inode_ctx (__fd->inode);          if (!inode_ctx) {  | 
