diff options
| author | Alexander Barton <alex@barton.de> | 2012-09-11 13:14:08 +0200 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2012-09-11 13:15:16 +0200 |
| commit | f5441d217068cdb4a34c27b2fde9ca59558e7a5b (patch) | |
| tree | 319761023c0e8fab05e1a40be4c832ca16b51f91 | |
| parent | f38a9035e5439cb395b2de6b9bdfa36102bfe80c (diff) | |
| download | ngircd-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.c | 2 |
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; |