diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2016-02-12 09:22:21 +0100 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2016-02-12 12:37:01 +0000 |
commit | 3ee826dbb1ffd8402114c24f48b51e2b8c202ac0 (patch) | |
tree | 5cb64dc1b6aea5732a4e0f817f6c190158fb0609 /ui/cli | |
parent | 646e373d992d0100bd392ea09ac02c145e0187aa (diff) | |
download | wireshark-3ee826dbb1ffd8402114c24f48b51e2b8c202ac0.tar.gz |
tap-iostat: fix logical ‘or’ of equal expressions [-Werror=logical-op] found by gcc6
Change-Id: Ic10ba8df57ae69994f7ac0e6ddbdec92af797fc8
Reviewed-on: https://code.wireshark.org/review/13920
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'ui/cli')
-rw-r--r-- | ui/cli/tap-iostat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/cli/tap-iostat.c b/ui/cli/tap-iostat.c index 6d8fc2776c..d481e1e898 100644 --- a/ui/cli/tap-iostat.c +++ b/ui/cli/tap-iostat.c @@ -842,7 +842,7 @@ iostat_draw(void *arg) printf("| Col"); for (j=0; j<num_cols; j++) { printf((j == 0 ? "%2u: " : "| %2u: "), j+1); - if (!iot->filters[j] || (iot->filters[j] == 0)) { + if (!iot->filters[j]) { /* * An empty (no filter) comma field was specified */ spaces_s = &spaces[16 + 10]; |