From: Alexander Barton Date: Tue, 11 Sep 2012 11:14:08 +0000 (+0200) Subject: New_Connection(): mark "IsSSL" parameter as UNUSED X-Git-Tag: rel-20-rc1~85 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=commitdiff_plain;h=f5441d217068cdb4a34c27b2fde9ca59558e7a5b 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. --- 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;