diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-05 09:04:52 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-05 09:04:52 +0000 |
commit | 155aba94f677ac771761a1f510964fe5b21524ed (patch) | |
tree | 80d7d14e42ed27cbd9bafcea2c1f10a54bf150a3 /dump.c | |
parent | b21babef0dc893282c08080aa99c4bd760e05204 (diff) | |
download | perl-155aba94f677ac771761a1f510964fe5b21524ed.tar.gz |
fixes for most warnings identified by gcc -Wall
p4raw-id: //depot/perl@5540
Diffstat (limited to 'dump.c')
-rw-r--r-- | dump.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -370,7 +370,6 @@ void Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, OP *o) { dTHR; - STRLEN n_a; Perl_dump_indent(aTHX_ level, file, "{\n"); level++; if (o->op_seq) @@ -524,6 +523,7 @@ Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, OP *o) #else if (cSVOPo->op_sv) { SV *tmpsv = NEWSV(0,0); + STRLEN n_a; ENTER; SAVEFREESV(tmpsv); gv_fullname3(tmpsv, (GV*)cSVOPo->op_sv, Nullch); @@ -1032,7 +1032,7 @@ Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bo for (i = max; i > 0; i--) { /* Precision: count down. */ sum += freq[i] * i * i; } - while (keys = keys >> 1) + while ((keys = keys >> 1)) pow2 = pow2 << 1; /* Approximate by Poisson distribution */ theoret = HvKEYS(sv); |