diff options
author | Amar Tumballi <amar@gluster.com> | 2011-10-18 10:30:42 +0530 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-10-20 04:13:50 -0700 |
commit | 84ebee8c20ce667a5ec5fddc0aa47f8b5bef39f8 (patch) | |
tree | f38e977ced3c0b2d6e8c47d3aeeea4bdc3fce208 /xlators/cluster/afr/src/afr-common.c | |
parent | 26a51e5e6ec1639a7601c0fc373fd9f6493b014a (diff) |
build: warning suppression (round n)
with this patch, there are no more warnings with gcc (GCC) 4.6.1 20110908
Change-Id: Ice0d52d304b9846395f8a4a191c98eb53125f792
BUG: 2550
Reviewed-on: http://review.gluster.com/607
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@gluster.com>
Diffstat (limited to 'xlators/cluster/afr/src/afr-common.c')
-rw-r--r-- | xlators/cluster/afr/src/afr-common.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/xlators/cluster/afr/src/afr-common.c b/xlators/cluster/afr/src/afr-common.c index e6b0881fc..acefa697f 100644 --- a/xlators/cluster/afr/src/afr-common.c +++ b/xlators/cluster/afr/src/afr-common.c @@ -2235,7 +2235,6 @@ afr_flush (call_frame_t *frame, xlator_t *this, fd_t *fd) int ret = -1; int op_ret = -1; int op_errno = 0; - int call_count = 0; VALIDATE_OR_GOTO (frame, out); VALIDATE_OR_GOTO (this, out); @@ -2251,8 +2250,6 @@ afr_flush (call_frame_t *frame, xlator_t *this, fd_t *fd) goto out; } - call_count = afr_up_children_count (local->child_up, priv->child_count); - transaction_frame = copy_frame (frame); if (!transaction_frame) { op_errno = ENOMEM; |