diff options
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 |