develooper Front page | perl.perl5.porters | Postings from August 2001

[PATCH] -Wall cleanup: sv.c

Thread Next
Richard Soderberg
August 2, 2001 00:50
[PATCH] -Wall cleanup: sv.c
Message ID:
c is only used initialized, however, the compiler doesn't seem to detech
that; this patch provides a default value that's overwritten later.

This stops a compile warning in sv.c.


--- sv.c~	Wed Aug  1 16:43:39 2001
+++ sv.c	Thu Aug  2 00:48:08 2001
@@ -9301,7 +9301,7 @@
     GP *gp;
     IV iv;
     I32 i;
-    char *c;
+    char *c = NULL;
     void (*dptr) (void*);
     void (*dxptr) (pTHXo_ void*);
     OP *o;

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About