diff options
author | Kaleb S. KEITHLEY <kkeithle@redhat.com> | 2016-08-22 12:15:14 -0400 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2016-08-27 04:17:49 -0700 |
commit | be93ca2b9f3f1bb5d38b0fd306c19c4b3d0923f7 (patch) | |
tree | 6f4aeec1124a3330188503f2ec7b6c3337d8684c /xlators/protocol/server/src/server-common.c | |
parent | 3cc7f6588c281846f8c590553da03dd16f150e8a (diff) |
protocol/server: fix unused variable warnings/errors
http://review.gluster.org/14085 fixes a/the "leak" - via the
generated rpc/xdr headers - of pragmas that mask these warnings.
However 14085 won't pass the smoke test until all the warnings are
fixed.
Change-Id: I5a48055c4b0a4a07dd511ad4f2e9ef823b9c60b2
BUG: 1369124
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
Reviewed-on: http://review.gluster.org/15255
Smoke: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Diffstat (limited to 'xlators/protocol/server/src/server-common.c')
-rw-r--r-- | xlators/protocol/server/src/server-common.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/xlators/protocol/server/src/server-common.c b/xlators/protocol/server/src/server-common.c index 9a023aaa49e..90d66dd7597 100644 --- a/xlators/protocol/server/src/server-common.c +++ b/xlators/protocol/server/src/server-common.c @@ -273,7 +273,6 @@ server_post_rename (call_frame_t *frame, struct iatt *postnewparent) { inode_t *tmp_inode = NULL; - inode_t *tmp_parent = NULL; stbuf->ia_type = state->loc.inode->ia_type; @@ -319,7 +318,6 @@ server_post_open (call_frame_t *frame, xlator_t *this, { server_ctx_t *serv_ctx = NULL; uint64_t fd_no = 0; - int ret = 0; serv_ctx = server_ctx_get (frame->root->client, this); if (serv_ctx == NULL) { @@ -350,7 +348,6 @@ server_post_opendir (call_frame_t *frame, xlator_t *this, { server_ctx_t *serv_ctx = NULL; uint64_t fd_no = 0; - int ret = 0; serv_ctx = server_ctx_get (frame->root->client, this); if (serv_ctx == NULL) { |