diff options
author | Pranith Kumar K <pranithk@gluster.com> | 2012-07-27 09:08:57 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-07-29 11:19:08 -0700 |
commit | fa0442e00149b4c8dc6ac21fb0a7742a360c240d (patch) | |
tree | d15053427bea1d2d28dc9cc026da34bb0b67c168 /api | |
parent | b4dbbe007da003962361c9a2579d1114f71619cc (diff) |
Warnings: Fix set, unused variable warnings
Change-Id: If7ee85aa0d93f9018a76e7f60fcb7dcaf849dbdc
BUG: 839950
Signed-off-by: Pranith Kumar K <pranithk@gluster.com>
Reviewed-on: http://review.gluster.com/3742
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'api')
-rw-r--r-- | api/src/glfs.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/api/src/glfs.c b/api/src/glfs.c index 830efb23d..e81ae56b0 100644 --- a/api/src/glfs.c +++ b/api/src/glfs.c @@ -66,12 +66,9 @@ glusterfs_ctx_defaults_init (glusterfs_ctx_t *ctx) { call_pool_t *pool = NULL; int ret = -1; - cmd_args_t *cmd_args = NULL; xlator_mem_acct_init (THIS, glfs_mt_end); - cmd_args = &ctx->cmd_args; - ctx->process_uuid = generate_glusterfs_ctx_id (); if (!ctx->process_uuid) { goto err; |