diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-05-30 23:12:30 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-05-30 23:12:30 +0000 |
commit | b7953727b0415d171133ea7caa7aca5672129f99 (patch) | |
tree | 04eeafc77fc5ed0662e0e330e4960ab6b6402acc /mg.c | |
parent | 659ca9ea8f57ee52a52802839584b7208ad161b7 (diff) | |
download | perl-b7953727b0415d171133ea7caa7aca5672129f99.tar.gz |
More -Wall silencing from Michael Schwern and Jarkko Hietaniemi.
p4raw-id: //depot/perl@10335
Diffstat (limited to 'mg.c')
-rw-r--r-- | mg.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -20,6 +20,9 @@ # ifndef NGROUPS # define NGROUPS 32 # endif +# ifdef I_GRP +# include <grp.h> +# endif #endif static void restore_magic(pTHXo_ void *p); @@ -627,7 +630,7 @@ Perl_magic_get(pTHX_ SV *sv, MAGIC *mg) getrx: if (i >= 0) { - bool was_tainted; + bool was_tainted = FALSE; if (PL_tainting) { was_tainted = PL_tainted; PL_tainted = FALSE; @@ -1038,7 +1041,7 @@ Perl_magic_setsig(pTHX_ SV *sv, MAGIC *mg) { register char *s; I32 i; - SV** svp; + SV** svp = 0; STRLEN len; s = MgPV(mg,len); @@ -2195,7 +2198,7 @@ Perl_sighandler(int sig) dSP; GV *gv = Nullgv; HV *st; - SV *sv, *tSv = PL_Sv; + SV *sv = Nullsv, *tSv = PL_Sv; CV *cv = Nullcv; OP *myop = PL_op; U32 flags = 0; |