From fa0442e00149b4c8dc6ac21fb0a7742a360c240d Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Fri, 27 Jul 2012 09:08:57 +0530 Subject: Warnings: Fix set, unused variable warnings Change-Id: If7ee85aa0d93f9018a76e7f60fcb7dcaf849dbdc BUG: 839950 Signed-off-by: Pranith Kumar K Reviewed-on: http://review.gluster.com/3742 Tested-by: Gluster Build System Reviewed-by: Amar Tumballi --- xlators/storage/posix/src/posix-aio.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'xlators/storage') diff --git a/xlators/storage/posix/src/posix-aio.c b/xlators/storage/posix/src/posix-aio.c index ac0ce870506..a673c2c1569 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; -- cgit