1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-20 02:38:43 +00:00

indent(1): remove dead assignments.

Taken from:	Piotr Sephaniak
This commit is contained in:
Pedro F. Giffuni 2016-08-23 15:46:20 +00:00
parent 5f0230cb16
commit 38359266c5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=304684
2 changed files with 1 additions and 2 deletions

View File

@ -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;

View File

@ -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 */