summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendrabhat@gluster.com>2010-07-19 00:33:22 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-07-19 05:10:48 -0700
commitde3f20878d00759aa79fb1fea955997ce5207d04 (patch)
treee44b8448912248e44cb8959d790578f5c8f9ecf4
parentc3b919783e16534f3dcb0844174503e77f90d707 (diff)
fix the errors reported by clang in io-stats xlator
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1132 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1132
-rw-r--r--xlators/debug/io-stats/src/io-stats.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/xlators/debug/io-stats/src/io-stats.c b/xlators/debug/io-stats/src/io-stats.c
index ae01e455726..3866ff4604e 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);