diff options
author | Dirk Engling <erdgeist@erdgeist.org> | 2022-05-17 16:12:46 +0200 |
---|---|---|
committer | Dirk Engling <erdgeist@erdgeist.org> | 2022-05-17 16:12:46 +0200 |
commit | 1c04bbfea700a8a38719e9a30dd47b37bf609a3d (patch) | |
tree | 79e814b2594ae8b388f821ef6696cc85d1e74cf6 /vchat-protocol.c | |
parent | 34a4541114318a7eda1c96ed58f83cdcd2622207 (diff) |
Get rid of some warnings
Diffstat (limited to 'vchat-protocol.c')
-rwxr-xr-x | vchat-protocol.c | 6 |
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) | |||
116 | static void | 116 | static void |
117 | serverlogin (char *message) | 117 | serverlogin (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 */ |
264 | void | 265 | void |
265 | ownnickchange (char *newnick) | 266 | ownnickchange (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 |