summaryrefslogtreecommitdiff
path: root/vchat-protocol.c
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2022-05-17 16:12:46 +0200
committerDirk Engling <erdgeist@erdgeist.org>2022-05-17 16:12:46 +0200
commit1c04bbfea700a8a38719e9a30dd47b37bf609a3d (patch)
tree79e814b2594ae8b388f821ef6696cc85d1e74cf6 /vchat-protocol.c
parent34a4541114318a7eda1c96ed58f83cdcd2622207 (diff)
Get rid of some warnings
Diffstat (limited to 'vchat-protocol.c')
-rwxr-xr-xvchat-protocol.c6
1 files changed, 4 insertions, 2 deletions
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)
116static void 116static void
117serverlogin (char *message) 117serverlogin (char *message)
118{ 118{
119 int utf8=!strcmp(nl_langinfo(CODESET), "UTF-8"); 119 (void)message;
120 int utf8 = !strcmp(nl_langinfo(CODESET), "UTF-8");
120 if (utf8) 121 if (utf8)
121 vc_sendmessage(".e utf8"); 122 vc_sendmessage(".e utf8");
122} 123}
@@ -262,8 +263,9 @@ ownjoin (int channel)
262 263
263/* this user changes his nick */ 264/* this user changes his nick */
264void 265void
265ownnickchange (char *newnick) 266ownnickchange (const char *newnick)
266{ 267{
268 (void)newnick;
267} 269}
268 270
269/* parse and handle a nick error message 271/* parse and handle a nick error message