summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--api/src/glfs.c3
-rw-r--r--xlators/storage/posix/src/posix-aio.c2
2 files changed, 0 insertions, 5 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;
diff --git a/xlators/storage/posix/src/posix-aio.c b/xlators/storage/posix/src/posix-aio.c
index ac0ce8705..a673c2c15 100644
--- a/xlators/storage/posix/src/posix-aio.c
+++ b/xlators/storage/posix/src/posix-aio.c
@@ -49,7 +49,6 @@ posix_aio_readv_complete (struct posix_aio_cb *paiocb, int res, int res2)
call_frame_t *frame = NULL;
xlator_t *this = NULL;
struct iobuf *iobuf = NULL;
- struct iatt prebuf = {0,};
struct iatt postbuf = {0,};
int _fd = -1;
int op_ret = -1;
@@ -65,7 +64,6 @@ posix_aio_readv_complete (struct posix_aio_cb *paiocb, int res, int res2)
this = frame->this;
priv = this->private;
iobuf = paiocb->iobuf;
- prebuf = paiocb->prebuf;
_fd = paiocb->fd;
offset = paiocb->offset;