HomeFreeBSD

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

Description

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.

MFC after: 3 days

Details

Provenance
dimAuthored on
Parents
rS357266: mips: unbreak module builds after r357265
Branches
Unknown
Tags
Unknown