From: Florian Ragwitz Date: Thu, 4 Dec 2008 02:03:09 +0000 (+0000) Subject: Properly initialize values that'll be checked in boolean context later with NULL. X-Git-Tag: 0.71_01~17 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a88898ebf8461d6ee164f03629c7685c682ff356;p=gitmo%2FClass-MOP.git Properly initialize values that'll be checked in boolean context later with NULL. --- diff --git a/MOP.xs b/MOP.xs index 6f9f17b..06c828c 100644 --- a/MOP.xs +++ b/MOP.xs @@ -251,7 +251,7 @@ get_all_package_symbols(self, ...) while ( (he = hv_iternext(stash)) ) { SV *const gv = HeVAL(he); - SV *sv; + SV *sv = NULL; char *key; STRLEN keylen; char *package;