Module: ngircd.git Branch: master Commit: a8aa8c6cbced060890ba1203c8a360b70ef0c98c URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=a8aa8...
Author: Alexander Barton alex@barton.de Date: Sun Apr 29 12:39:28 2012 +0200
irc-cap.c: mark arguments of Handle_CAP_ACK() as "unused"
This fixes
irc-cap.c: In function ‘Handle_CAP_ACK’: irc-cap.c:163: warning: unused parameter ‘Client’ irc-cap.c:163: warning: unused parameter ‘Arg’
---
src/ngircd/irc-cap.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/ngircd/irc-cap.c b/src/ngircd/irc-cap.c index a6923ac..2ea4c9a 100644 --- a/src/ngircd/irc-cap.c +++ b/src/ngircd/irc-cap.c @@ -160,7 +160,7 @@ Handle_CAP_REQ(CLIENT *Client, char *Arg) * @returns CONNECTED or DISCONNECTED. */ bool -Handle_CAP_ACK(CLIENT *Client, char *Arg) +Handle_CAP_ACK(UNUSED CLIENT *Client, UNUSED char *Arg) { assert(Client != NULL); assert(Arg != NULL);