aboutsummaryrefslogtreecommitdiffstats
path: root/report.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2009-05-04 21:52:02 +0000
committerMatthias Andree <matthias.andree@gmx.de>2009-05-04 21:52:02 +0000
commitcf6664a9ac26e7d1f40afaca3e7c3520039d3645 (patch)
tree59982df5bd818de8eb4bf9e3331d8a3b09f71a61 /report.c
parent2da71d093af840881a9d19b847ff98a2e2b7a556 (diff)
downloadfetchmail-cf6664a9ac26e7d1f40afaca3e7c3520039d3645.tar.gz
fetchmail-cf6664a9ac26e7d1f40afaca3e7c3520039d3645.tar.bz2
fetchmail-cf6664a9ac26e7d1f40afaca3e7c3520039d3645.zip
Drop dead report_message_count.
svn path=/branches/BRANCH_6-3/; revision=5287
Diffstat (limited to 'report.c')
-rw-r--r--report.c7
1 files changed, 0 insertions, 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);