From cf6664a9ac26e7d1f40afaca3e7c3520039d3645 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Mon, 4 May 2009 21:52:02 +0000 Subject: Drop dead report_message_count. svn path=/branches/BRANCH_6-3/; revision=5287 --- report.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/report.c b/report.c index 3d4be02e..f8a39f87 100644 --- a/report.c +++ b/report.c @@ -46,9 +46,6 @@ static char *partial_message; static unsigned unbuffered; static unsigned int use_syslog; -/* This variable is incremented each time `report' is called. */ -static unsigned int report_message_count; - #ifdef _LIBC /* In the GNU C library, there is a predefined variable for this. */ @@ -147,7 +144,6 @@ report (FILE *errfp, message, va_alist) #endif fflush (errfp); } - ++report_message_count; } /* @@ -338,8 +334,6 @@ report_complete (FILE *errfp, message, va_alist) { fputs(partial_message, errfp); fflush (errfp); - - ++report_message_count; } else report(errfp, "%s", partial_message); @@ -404,7 +398,6 @@ report_at_line (FILE *errfp, errnum, file_name, line_number, message, va_alist) fprintf (errfp, message, a1, a2, a3, a4, a5, a6, a7, a8); #endif - ++report_message_count; if (errnum) fprintf (errfp, ": %s", strerror (errnum)); putc ('\n', errfp); -- cgit v1.2.3