Remove redundant assignment in gprof.
PR gprof/20656 * source.c (annotate_source): Delete redundant assignment to new_line.
This commit is contained in:
parent
3d3424e9a8
commit
6bd7996d3d
2 changed files with 6 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue