Module: ngircd.git Branch: master Commit: f5441d217068cdb4a34c27b2fde9ca59558e7a5b URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=f5441...
Author: Alexander Barton alex@barton.de Date: Tue Sep 11 13:14:08 2012 +0200
New_Connection(): mark "IsSSL" parameter as UNUSED
This fixes the following warning message when building without SSL support:
conn.c: In function "New_Connection": conn.c:1365: warning: unused parameter "IsSSL"
Introduced by commit 01b62202.
---
src/ngircd/conn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c index 81a0f45..6091ebe 100644 --- a/src/ngircd/conn.c +++ b/src/ngircd/conn.c @@ -1366,7 +1366,7 @@ Count_Connections(ng_ipaddr_t *a) * @returns Accepted socket descriptor or -1 on error. */ static int -New_Connection(int Sock, bool IsSSL) +New_Connection(int Sock, UNUSED bool IsSSL) { #ifdef TCPWRAP struct request_info req;
ngircd-commits@lists.barton.de