From 1c04bbfea700a8a38719e9a30dd47b37bf609a3d Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Tue, 17 May 2022 16:12:46 +0200 Subject: Get rid of some warnings --- vchat-protocol.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'vchat-protocol.c') diff --git a/vchat-protocol.c b/vchat-protocol.c index 77e45ec..2b98779 100755 --- a/vchat-protocol.c +++ b/vchat-protocol.c @@ -116,7 +116,8 @@ pubthoughts (char *message) static void serverlogin (char *message) { - int utf8=!strcmp(nl_langinfo(CODESET), "UTF-8"); + (void)message; + int utf8 = !strcmp(nl_langinfo(CODESET), "UTF-8"); if (utf8) vc_sendmessage(".e utf8"); } @@ -262,8 +263,9 @@ ownjoin (int channel) /* this user changes his nick */ void -ownnickchange (char *newnick) +ownnickchange (const char *newnick) { + (void)newnick; } /* parse and handle a nick error message -- cgit v1.2.3