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:
Darryl L. Miles 2024-10-04 19:38:28 +01:00 committed by Tim Edwards
parent cbf97f77ee
commit 4380310e5b
1 changed files with 10 additions and 3 deletions

View File

@ -894,9 +894,16 @@ EFHNOut(hierName, outf)
}
else switch (c)
{
case '!': if (!trimGlob) (void) putc(c, outf); break;
case '#': if (trimLocal) break;
default: (void) putc(c, outf); break;
case '!':
if (!trimGlob)
(void) putc(c, outf);
break;
case '#':
if (trimLocal)
break;
default:
(void) putc(c, outf);
break;
}
}
}