summaryrefslogtreecommitdiff
path: root/src/perl
diff options
context:
space:
mode:
authorDavid Leadbeater <dgl@dgl.cx>2014-07-06 18:56:17 +0100
committerDavid Leadbeater <dgl@dgl.cx>2014-07-06 18:56:17 +0100
commitbeec29c3054acc262ac2dbef5b29c1e279a6fdb3 (patch)
tree1041501b35529022daad89e25e1c30b14de93c85 /src/perl
parent1bf4753914b1ea71ebdc336f8986dd5040b8a398 (diff)
downloadirssi-beec29c3054acc262ac2dbef5b29c1e279a6fdb3.zip
Make configure checks able to build with -Werror
Also fix a few compiler warnings, this combined with pull #82 allows me to build with CFLAGS="-Werror -Wall".
Diffstat (limited to 'src/perl')
-rw-r--r--src/perl/textui/Statusbar.xs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/perl/textui/Statusbar.xs b/src/perl/textui/Statusbar.xs
index d904ae9f..620fad9a 100644
--- a/src/perl/textui/Statusbar.xs
+++ b/src/perl/textui/Statusbar.xs
@@ -50,7 +50,6 @@ static void perl_statusbar_event(char *function, SBAR_ITEM_REC *item,
int get_size_only)
{
dSP;
- int retcount;
SV *item_sv, **sv;
HV *hv;
@@ -63,7 +62,7 @@ static void perl_statusbar_event(char *function, SBAR_ITEM_REC *item,
XPUSHs(sv_2mortal(newSViv(get_size_only)));
PUTBACK;
- retcount = perl_call_pv(function, G_EVAL|G_DISCARD);
+ perl_call_pv(function, G_EVAL|G_DISCARD);
SPAGAIN;
if (SvTRUE(ERRSV)) {