develooper Front page | perl.perl5.porters | Postings from March 2003

[PATCH dump.c] stray n_a

Thread Next
From:
Michael G Schwern
Date:
March 31, 2003 00:55
Subject:
[PATCH dump.c] stray n_a
Message ID:
20030331085549.GB1300@windhund.schwern.org
Got this while compiling bleadperl just now:

`sh  cflags "optimize='-Os -g'" dump.o`  dump.c
          CCCMD =  cc -DPERL_CORE -c -pipe -fno-common -no-cpp-precomp -DDEBUGGING -fno-strict-aliasing -Os -g  -Wall
dump.c: In function `Perl_do_sv_dump':
dump.c:957: warning: unused variable `n_a'

I think 18456 missed one.

--- dump.c	2003/03/31 08:54:54	1.1
+++ dump.c	2003/03/31 08:54:57
@@ -954,7 +954,6 @@
     char *s;
     U32 flags;
     U32 type;
-    STRLEN n_a;
 
     if (!sv) {
 	Perl_dump_indent(aTHX_ level, file, "SV = 0\n");

-- 
local $variable for local @people;

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About