]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r357269:
authorDimitry Andric <dim@FreeBSD.org>
Tue, 4 Feb 2020 19:24:10 +0000 (19:24 +0000)
committerDimitry Andric <dim@FreeBSD.org>
Tue, 4 Feb 2020 19:24:10 +0000 (19:24 +0000)
commit40dbc337f3fe79e306455e97770fe294dac7a4b0
tree6fedc283ba3efb52aee69670555bfeff4e3f846a
parent194850fc336144b017f8fd6e26c589eda223d064
MFC r357269:

Merge r357267 from the clang1000-import branch:

Fix the following -Werror warning from clang 10.0.0 in tip:

usr.bin/tip/tip/tip.c:428:4: error: misleading indentation; statement is not part of the previous 'if' [-Werror,-Wmisleading-indentation]
                        if (gch == EOF)
                        ^
usr.bin/tip/tip/tip.c:426:5: note: previous statement is here
                } else if (!cumode && gch == character(value(FORCE)))
                  ^

The intent was to have the EOF check grouped with the getchar() call
just above it.  This was accidentally introduced in r354624.
usr.bin/tip/tip/tip.c