diff options
author | 2018-07-10 17:45:52 +0000 | |
---|---|---|
committer | 2018-07-10 17:45:52 +0000 | |
commit | 0971b67f68eabe84e58ba202abe73d50c878d1ac (patch) | |
tree | b15e774a68a10234788ba9c13aac96e9df7b23cf /gnu/usr.bin/cvs/diff/side.c | |
parent | Make legacy interrupts work in acpipci(4). (diff) | |
download | wireguard-openbsd-0971b67f68eabe84e58ba202abe73d50c878d1ac.tar.xz wireguard-openbsd-0971b67f68eabe84e58ba202abe73d50c878d1ac.zip |
Fix a few, but not all, clang warnings: Use "%s" to print modifiable
strings, add a couple of braces, ansify a few functions, add and remove
a few extra parens.
ok jcs
Diffstat (limited to 'gnu/usr.bin/cvs/diff/side.c')
-rw-r--r-- | gnu/usr.bin/cvs/diff/side.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/usr.bin/cvs/diff/side.c b/gnu/usr.bin/cvs/diff/side.c index d776e77eab3..8836c1f471e 100644 --- a/gnu/usr.bin/cvs/diff/side.c +++ b/gnu/usr.bin/cvs/diff/side.c @@ -122,7 +122,7 @@ print_half_line (line, indent, out_bound) break; case '\b': - if (in_position != 0 && --in_position < out_bound) + if (in_position != 0 && --in_position < out_bound) { if (out_position <= in_position) /* Add spaces to make up for suppressed tab past out_bound. */ for (; out_position < in_position; out_position++) @@ -133,6 +133,7 @@ print_half_line (line, indent, out_bound) cc = c; write_output (&cc, 1); } + } break; case '\f': |