]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r357269:
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 4 Feb 2020 19:24:10 +0000 (19:24 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 4 Feb 2020 19:24:10 +0000 (19:24 +0000)
commit1313be1536b97af21863683b27d022202341d78e
tree80d4ab8e237b5fad7069a417358e2317ace21aed
parent7f13d0b0eda86f150331e0411fa146896b26f247
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.

git-svn-id: svn://svn.freebsd.org/base/stable/10@357518 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.bin/tip/tip/tip.c