]> granicus.if.org Git - ngircd/commitdiff
New_Connection(): mark "IsSSL" parameter as UNUSED
authorAlexander Barton <alex@barton.de>
Tue, 11 Sep 2012 11:14:08 +0000 (13:14 +0200)
committerAlexander Barton <alex@barton.de>
Tue, 11 Sep 2012 11:15:16 +0000 (13:15 +0200)
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

index 81a0f4507eed0fb79d470bf323452bd1a328dd58..6091ebe26a34a8096d2d62cf48e06b06c5dd321d 100644 (file)
@@ -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;