diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-03-08 18:02:07 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-03-08 18:02:07 +0100 |
commit | 0bcb399670e2613b62785438ff9eba12d65f120f (patch) | |
tree | 865dc5aeb2a93633c642d671d02acbd50904faf1 /src | |
parent | 69cdb6ca1c515b492315c6054fadda36f28c3508 (diff) | |
download | weechat-0bcb399670e2613b62785438ff9eba12d65f120f.zip |
Removed compiler warning in Perl plugin on FreeBSD
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/scripts/perl/weechat-perl.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/scripts/perl/weechat-perl.c b/src/plugins/scripts/perl/weechat-perl.c index f7324dedc..149e9a77d 100644 --- a/src/plugins/scripts/perl/weechat-perl.c +++ b/src/plugins/scripts/perl/weechat-perl.c @@ -576,11 +576,13 @@ weechat_perl_debug_dump_cb (void *data, char *signal, char *type_data, int weechat_plugin_init (struct t_weechat_plugin *plugin) { - weechat_perl_plugin = plugin; - #ifndef MULTIPLICITY char *perl_args[] = { "", "-e", "0" }; +#endif + weechat_perl_plugin = plugin; + +#ifndef MULTIPLICITY perl_main = perl_alloc (); if (!perl_main) |