mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
indent(1): remove dead assignments.
Taken from: Piotr Sephaniak
This commit is contained in:
parent
5f0230cb16
commit
38359266c5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=304684
@ -1161,7 +1161,6 @@ main(int argc, char **argv)
|
||||
|
||||
case comment: /* we have gotten a / followed by * this is a biggie */
|
||||
if (flushed_nl) { /* we should force a broken line here */
|
||||
flushed_nl = false;
|
||||
dump_line();
|
||||
ps.want_blank = false; /* dont insert blank at line start */
|
||||
force_nl = false;
|
||||
|
@ -242,7 +242,7 @@ dump_line(void)
|
||||
}
|
||||
while (e_com > com_st && isspace(e_com[-1]))
|
||||
e_com--;
|
||||
cur_col = pad_output(cur_col, target);
|
||||
(void)pad_output(cur_col, target);
|
||||
fwrite(com_st, e_com - com_st, 1, output);
|
||||
ps.comment_delta = ps.n_comment_delta;
|
||||
++ps.com_lines; /* count lines with comments */
|
||||
|
Loading…
Reference in New Issue
Block a user