EFvisit.c: warning: misleading indentation;
I think the warning is bringing to attention the hidden fall-thru case situation. EFvisit.c:897:50: warning: misleading indentation; statement is not part of the previous 'if' clang18 -Wall warning cleanup [-Wmisleading-indentation]
This commit is contained in:
parent
cbf97f77ee
commit
4380310e5b
|
|
@ -894,9 +894,16 @@ EFHNOut(hierName, outf)
|
||||||
}
|
}
|
||||||
else switch (c)
|
else switch (c)
|
||||||
{
|
{
|
||||||
case '!': if (!trimGlob) (void) putc(c, outf); break;
|
case '!':
|
||||||
case '#': if (trimLocal) break;
|
if (!trimGlob)
|
||||||
default: (void) putc(c, outf); break;
|
(void) putc(c, outf);
|
||||||
|
break;
|
||||||
|
case '#':
|
||||||
|
if (trimLocal)
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
(void) putc(c, outf);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue