X-Git-Url: http://drtracing.org/?a=blobdiff_plain;ds=sidebyside;f=gprof%2Fsource.c;h=93abc85793b5de9022c175c731ef0bdd6314d636;hb=31ce04e9e0ce96e752e2c53dfad5881d24e9f080;hp=f1a182bd218e72ce6e27fe913d298f908b1b652e;hpb=b90efa5b79ac1524ec260f8eb89d1be37e0219a7;p=deliverable%2Fbinutils-gdb.git diff --git a/gprof/source.c b/gprof/source.c index f1a182bd21..93abc85793 100644 --- a/gprof/source.c +++ b/gprof/source.c @@ -1,6 +1,6 @@ /* source.c - Keep track of source files. - Copyright (C) 2000-2015 Free Software Foundation, Inc. + Copyright (C) 2000-2020 Free Software Foundation, Inc. This file is part of GNU Binutils. @@ -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');