Author: timbo
Date: Tue Feb 7 14:49:27 2012
New Revision: 15134
Modified:
dbi/trunk/DBI.xs
Log:
silence "may be used uninitialized in this function"
Modified: dbi/trunk/DBI.xs
==============================================================================
--- dbi/trunk/DBI.xs (original)
+++ dbi/trunk/DBI.xs Tue Feb 7 14:49:27 2012
@@ -257,6 +257,7 @@
/* create new cache entry */
if (!mg) {
+ c = 0; /* silence "may be used uninitialized in this function" */
Newx(c, 1, method_cache_t);
mg = sv_magicext((SV*)cv, NULL, DBI_MAGIC, &method_cache_vtbl,
(char *)c, 0);