mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-19 13:53:29 +08:00
Remove redundant assignment in gprof.
PR gprof/20656 * source.c (annotate_source): Delete redundant assignment to new_line.
This commit is contained in:
@ -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>
|
2016-10-06 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
* gprof.c: Add missing fall through comments.
|
* 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);
|
(*annote) (annotation, max_width, line_num, arg);
|
||||||
fputs (annotation, ofp);
|
fputs (annotation, ofp);
|
||||||
++line_num;
|
++line_num;
|
||||||
new_line = FALSE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
new_line = (buf[i] == '\n');
|
new_line = (buf[i] == '\n');
|
||||||
|
Reference in New Issue
Block a user