irc-cap.c: mark arguments of Handle_CAP_ACK() as "unused"
authorAlexander Barton <alex@barton.de>
Sun, 29 Apr 2012 10:39:28 +0000 (12:39 +0200)
committerAlexander Barton <alex@barton.de>
Sun, 29 Apr 2012 10:39:28 +0000 (12:39 +0200)
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

index a6923ac..2ea4c9a 100644 (file)
@@ -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);