Remove redundant assignment in gprof.

PR gprof/20656
	* source.c (annotate_source): Delete redundant assignment to
	new_line.
This commit is contained in:
Tom Tromey 2016-10-06 12:51:47 +01:00 committed by Nick Clifton
parent 3d3424e9a8
commit 6bd7996d3d
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2016-10-06 Tom Tromey <tromey@sourceware.org>
PR gprof/20656
* source.c (annotate_source): Delete redundant assignment to
new_line.
2016-10-06 Alan Modra <amodra@gmail.com>
* gprof.c: Add missing fall through comments.

View File

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