about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2012-09-11 13:14:08 +0200
committerAlexander Barton <alex@barton.de>2012-09-11 13:15:16 +0200
commitf5441d217068cdb4a34c27b2fde9ca59558e7a5b (patch)
tree319761023c0e8fab05e1a40be4c832ca16b51f91
parentf38a9035e5439cb395b2de6b9bdfa36102bfe80c (diff)
downloadngircd-f5441d217068cdb4a34c27b2fde9ca59558e7a5b.tar.gz
ngircd-f5441d217068cdb4a34c27b2fde9ca59558e7a5b.zip
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.
-rw-r--r--src/ngircd/conn.c2
1 files changed, 1 insertions, 1 deletions
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;