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

[PATCH] -Wall cleanup: sv.c

Thread Next
From:
Richard Soderberg
Date:
August 2, 2001 00:50
Subject:
[PATCH] -Wall cleanup: sv.c
Message ID:
200108020749.AAA27492@oregonnet.com
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.

R.

--- 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


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