diff options
| author | Kaleb S. KEITHLEY <kkeithle@redhat.com> | 2016-08-22 12:11:24 -0400 | 
|---|---|---|
| committer | Jeff Darcy <jdarcy@redhat.com> | 2016-08-29 05:04:29 -0700 | 
| commit | 494d310a78fb423559d520040eebd8f091d3e529 (patch) | |
| tree | 7ea8821e5b2880a5f4356ef1dfacb82b8d2ad7a1 /xlators/debug | |
| parent | 00ee35093917f57b97b523decee9c58050d35d32 (diff) | |
core: 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: I16e55ad7afbddaee0d0e30acf1480e42adf96da4
BUG: 1369124
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
Reviewed-on: http://review.gluster.org/15243
Smoke: Gluster Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Poornima G <pgurusid@redhat.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'xlators/debug')
| -rw-r--r-- | xlators/debug/io-stats/src/io-stats.c | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/xlators/debug/io-stats/src/io-stats.c b/xlators/debug/io-stats/src/io-stats.c index 1d3c9b9af93..98896185b42 100644 --- a/xlators/debug/io-stats/src/io-stats.c +++ b/xlators/debug/io-stats/src/io-stats.c @@ -3045,7 +3045,6 @@ io_stats_setxattr (call_frame_t *frame, xlator_t *this,                     loc_t *loc, dict_t *dict,                     int32_t flags, dict_t *xdata)  { -        int ret = 0;          struct {                  xlator_t     *this;                  inode_t      *inode; @@ -3056,8 +3055,8 @@ io_stats_setxattr (call_frame_t *frame, xlator_t *this,          stub.inode = loc->inode;          stub.path  = loc->path; -        ret = dict_foreach_match (dict, match_special_xattr, NULL, -                                  conditional_dump, &stub); +        (void) dict_foreach_match (dict, match_special_xattr, NULL, +                                   conditional_dump, &stub);          START_FOP_LATENCY (frame);  | 
