mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
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".
This commit is contained in:
parent
1bf4753914
commit
beec29c305
6 changed files with 13 additions and 11 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue