Re: [perf PATCH 3/3] Fix double fclose() on do_write(fd, xxx) failure

2013-01-28 Thread Thomas Jarosch
On Friday, 25. January 2013 13:01:51 you wrote: > Em Fri, Jan 25, 2013 at 11:22:17AM +0100, Thomas Jarosch escreveu: > > cppcheck reported: > > [util/header.c:983]: (error) Used file that is not opened. > > > > Signed-off-by: Thomas Jarosch > > --- > > > > tools/perf/util/header.c | 1 + > > 1

Re: [perf PATCH 3/3] Fix double fclose() on do_write(fd, xxx) failure

2013-01-25 Thread Arnaldo Carvalho de Melo
Em Fri, Jan 25, 2013 at 11:22:17AM +0100, Thomas Jarosch escreveu: > cppcheck reported: > [util/header.c:983]: (error) Used file that is not opened. > > Signed-off-by: Thomas Jarosch > --- > tools/perf/util/header.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/tools/perf/util/header

[perf PATCH 3/3] Fix double fclose() on do_write(fd, xxx) failure

2013-01-25 Thread Thomas Jarosch
cppcheck reported: [util/header.c:983]: (error) Used file that is not opened. Signed-off-by: Thomas Jarosch --- tools/perf/util/header.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/util/header.c b/tools/perf/util/header.c index 7b24cf3..30745c2 100644 --- a/tools/perf/util/hea