From 467f1f3c3037efac0497d50510247e62605c3f3a Mon Sep 17 00:00:00 2001 From: Sanju Rakonde Date: Mon, 25 Sep 2017 15:53:24 +0530 Subject: Posix: Unused value In line number 5179 we are storing -1 into op_ret variable. Before we use the value we are overwriting the same variable in line number 5339. So we are removing the value assigning statement. Change-Id: I8c6dae9f6b0f9f1e3c09d0744d451b9296d12db8 BUG: 789278 Signed-off-by: Sanju Rakonde --- xlators/storage/posix/src/posix.c | 1 - 1 file changed, 1 deletion(-) (limited to 'xlators') diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c index b1ab006219d..d487016d500 100644 --- a/xlators/storage/posix/src/posix.c +++ b/xlators/storage/posix/src/posix.c @@ -5176,7 +5176,6 @@ posix_fgetxattr (call_frame_t *frame, xlator_t *this, size = sys_fgetxattr (_fd, key, NULL, 0); } if (size == -1) { - op_ret = -1; op_errno = errno; if (errno == ENODATA || errno == ENOATTR) { gf_msg_debug (this->name, 0, "fgetxattr" -- cgit