|
From: <sv...@va...> - 2008-09-12 20:29:28
|
Author: sewardj
Date: 2008-09-12 21:29:35 +0100 (Fri, 12 Sep 2008)
New Revision: 8604
Log:
Fix uninitialised value. Curiously, gcc-4.3 makes no comment; only a
build with gcc-4.2 (correctly) reported it as uninitialised.
Modified:
branches/PTRCHECK/coregrind/m_debuginfo/readdwarf3.c
Modified: branches/PTRCHECK/coregrind/m_debuginfo/readdwarf3.c
===================================================================
--- branches/PTRCHECK/coregrind/m_debuginfo/readdwarf3.c 2008-09-12 17:11:57 UTC (rev 8603)
+++ branches/PTRCHECK/coregrind/m_debuginfo/readdwarf3.c 2008-09-12 20:29:35 UTC (rev 8604)
@@ -2907,6 +2907,7 @@
above (a commoning pass followed by a substitution pass), but
checking it on every iteration is excessively expensive. Note,
this loop also computes 'm' for the stats printing below it. */
+ m = 0;
n = VG_(sizeXA)( ents );
for (i = 0; i < n; i++) {
TyEnt *ent, *ind;
|