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>
This commit is contained in:
parent
646e373d99
commit
3ee826dbb1
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue