From de3f20878d00759aa79fb1fea955997ce5207d04 Mon Sep 17 00:00:00 2001 From: Raghavendra Bhat Date: Mon, 19 Jul 2010 00:33:22 +0000 Subject: fix the errors reported by clang in io-stats xlator Signed-off-by: Raghavendra Bhat Signed-off-by: Anand V. Avati BUG: 1132 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1132 --- xlators/debug/io-stats/src/io-stats.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'xlators') diff --git a/xlators/debug/io-stats/src/io-stats.c b/xlators/debug/io-stats/src/io-stats.c index ae01e4557..3866ff460 100644 --- a/xlators/debug/io-stats/src/io-stats.c +++ b/xlators/debug/io-stats/src/io-stats.c @@ -415,11 +415,9 @@ io_stats_readv_cbk (call_frame_t *frame, void *cookie, xlator_t *this, struct iovec *vector, int32_t count, struct iatt *buf, struct iobref *iobref) { - struct ios_conf *conf = NULL; int len = 0; fd_t *fd = NULL; - conf = this->private; fd = frame->local; frame->local = NULL; @@ -1055,10 +1053,8 @@ io_stats_writev (call_frame_t *frame, xlator_t *this, int32_t count, off_t offset, struct iobref *iobref) { - struct ios_conf *conf = NULL; int len = 0; - conf = this->private; len = iov_length (vector, count); -- cgit