diff options
author | Ravishankar N <ravishankar@redhat.com> | 2014-03-10 18:28:02 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-03-22 05:27:26 -0700 |
commit | 16151032862af8ee70f14eff57162d829d8d75f9 (patch) | |
tree | f75a93cb529868af9e0ad441ca85631a9a11cbe5 /run-tests.sh | |
parent | 6d3739292b7b51d2ddbab75b5f884fb38925b943 (diff) |
debug/io-stats:fix compile warning
Compiler Warning:
---------------------------------------------------------
io-stats.c: In function 'io_stats_dump':
io-stats.c:950:24: warning: comparison between 'gf1_cli_stats_op' and
'enum gf1_cli_info_op' [-Wenum-compare]
if (op == GF_CLI_INFO_ALL ||
io-stats.c:951:24: warning: comparison between 'gf1_cli_stats_op' and
'enum gf1_cli_info_op' [-Wenum-compare]
op == GF_CLI_INFO_CUMULATIVE)
^
---------------------------------------------------------
Fix: Use the appropriate enum in function defintion of io_stats_dump().
Note: Using the same BZ ID as the commit that introduced this argument.
Change-Id: I24e1aaf9ab86b4f337e3daa729d561ec208f2a95
BUG: 1030580
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
Reviewed-on: http://review.gluster.org/7217
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'run-tests.sh')
0 files changed, 0 insertions, 0 deletions