Skip to content

Commit

Permalink
Remove redundant assignment in gprof.
Browse files Browse the repository at this point in the history
	PR gprof/20656
	* source.c (annotate_source): Delete redundant assignment to
	new_line.
  • Loading branch information
Tom Tromey authored and nickclifton committed Oct 6, 2016
1 parent 3d3424e commit 6bd7996
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions gprof/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2016-10-06 Tom Tromey <[email protected]>

PR gprof/20656
* source.c (annotate_source): Delete redundant assignment to
new_line.

2016-10-06 Alan Modra <[email protected]>

* gprof.c: Add missing fall through comments.
Expand Down
1 change: 0 additions & 1 deletion gprof/source.c
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,6 @@ annotate_source (Source_File *sf, unsigned int max_width,
(*annote) (annotation, max_width, line_num, arg);
fputs (annotation, ofp);
++line_num;
new_line = FALSE;
}

new_line = (buf[i] == '\n');
Expand Down

0 comments on commit 6bd7996

Please sign in to comment.