INN commit: trunk/nnrpd (line.c)

INN Commit Russ_Allbery at isc.org
Tue May 20 16:48:16 UTC 2008


    Date: Tuesday, May 20, 2008 @ 09:48:15
  Author: iulius
Revision: 7839

Mark a variable UNUSED to silence gcc warnings.

Modified:
  trunk/nnrpd/line.c

--------+
 line.c |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Modified: line.c
===================================================================
--- line.c	2008-05-19 17:21:50 UTC (rev 7838)
+++ line.c	2008-05-20 16:48:15 UTC (rev 7839)
@@ -66,8 +66,11 @@
     line->remaining = 0;
 }
 
+/*
+** timeout is used only if HAVE_SSL is defined.
+*/
 static ssize_t
-line_doread(void *p, size_t len, int timeout)
+line_doread(void *p, size_t len, int timeout UNUSED)
 {
     ssize_t n;
 



More information about the inn-committers mailing list