diff options
author | Emmanuel Bouthenot <kolter@openics.org> | 2006-06-11 11:20:18 +0000 |
---|---|---|
committer | Emmanuel Bouthenot <kolter@openics.org> | 2006-06-11 11:20:18 +0000 |
commit | 99e3f219afcd281e85a188465a769d50bfdaf824 (patch) | |
tree | f3c31eca9a3b9f77c11cea8935fdfc5e54de567c /src | |
parent | 935d8e930488ac196c63a58c1e613fff8e1ed37f (diff) | |
download | weechat-99e3f219afcd281e85a188465a769d50bfdaf824.zip |
make aspell plugin compile with gcc-2.95
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/aspell/weechat-aspell.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/plugins/aspell/weechat-aspell.c b/src/plugins/aspell/weechat-aspell.c index 9cba2b1e3..76a3a8c11 100644 --- a/src/plugins/aspell/weechat-aspell.c +++ b/src/plugins/aspell/weechat-aspell.c @@ -948,15 +948,15 @@ int speller_command (t_weechat_plugin *p, char *handler_args, void *handler_pointer) { + char helpcmd[32]; + char **args; + int c, r; + /* make gcc happy */ (void) p; (void) handler_args; (void) handler_pointer; - char helpcmd[32]; - char **args; - int c, r; - snprintf(helpcmd, sizeof(helpcmd), "/help %s", plugin_command); r = 0; @@ -1015,16 +1015,16 @@ int speller_command (t_weechat_plugin *p, int keyb_check (t_weechat_plugin *p, int argc, char **argv, char *handler_args, void *handler_pointer) { - /* make gcc happy */ - (void) p; - (void) handler_args; - (void) handler_pointer; - char *server, *channel; config_t *c; char *input, *ptr_input, *pos_space; int count; + /* make gcc happy */ + (void) p; + (void) handler_args; + (void) handler_pointer; + channel = plugin->get_info (plugin, "channel", NULL); server = plugin->get_info (plugin, "server", NULL); @@ -1141,12 +1141,12 @@ int weechat_plugin_init (t_weechat_plugin *p) */ void weechat_plugin_end (t_weechat_plugin *p) { - /* make gcc happy */ - (void) p; - speller_t *s, *t; config_t *c, *d; + /* make gcc happy */ + (void) p; + options_save (); config_save (); |