From f5441d217068cdb4a34c27b2fde9ca59558e7a5b Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Tue, 11 Sep 2012 13:14:08 +0200 Subject: [PATCH] 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 81a0f450..6091ebe2 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; -- 2.39.2