summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2007-05-21 16:11:27 +0000
committerSebastien Helleu <flashcode@flashtux.org>2007-05-21 16:11:27 +0000
commitc79becdc8502c6839757eb4417ec2b8ec332b428 (patch)
tree17ca17c5d1a6c149ccc57b8f55eead9da21528ec
parent7405588a6e90cc3447d38c8cd0fa47379e87b814 (diff)
downloadweechat-c79becdc8502c6839757eb4417ec2b8ec332b428.zip
Removed compile warning in Perl script plugin
-rw-r--r--src/plugins/scripts/perl/weechat-perl.c2
-rw-r--r--weechat/src/plugins/scripts/perl/weechat-perl.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/scripts/perl/weechat-perl.c b/src/plugins/scripts/perl/weechat-perl.c
index 66418273f..d000ac971 100644
--- a/src/plugins/scripts/perl/weechat-perl.c
+++ b/src/plugins/scripts/perl/weechat-perl.c
@@ -178,7 +178,7 @@ weechat_perl_exec (t_weechat_plugin *plugin,
if (SvTRUE (ERRSV))
{
plugin->print_server (plugin, "Perl error: %s", SvPV_nolen (ERRSV));
- POPs; /* poping the 'undef' */
+ (void) POPs; /* poping the 'undef' */
mem_err = 0;
}
else
diff --git a/weechat/src/plugins/scripts/perl/weechat-perl.c b/weechat/src/plugins/scripts/perl/weechat-perl.c
index 66418273f..d000ac971 100644
--- a/weechat/src/plugins/scripts/perl/weechat-perl.c
+++ b/weechat/src/plugins/scripts/perl/weechat-perl.c
@@ -178,7 +178,7 @@ weechat_perl_exec (t_weechat_plugin *plugin,
if (SvTRUE (ERRSV))
{
plugin->print_server (plugin, "Perl error: %s", SvPV_nolen (ERRSV));
- POPs; /* poping the 'undef' */
+ (void) POPs; /* poping the 'undef' */
mem_err = 0;
}
else