Add some seemingly unnecessary initialisations to shut GCC 4.0.2 up.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7148 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/helgrind/hg_main.c b/helgrind/hg_main.c
index 18f71e0..dc02f3d 100644
--- a/helgrind/hg_main.c
+++ b/helgrind/hg_main.c
@@ -2686,7 +2686,7 @@
while (HG_(nextIterFM)( map_shmem,
(Word*)(HChar*)&smga, (Word*)(HChar*)&sm )) {
SecMapIter itr;
- UInt* w32p;
+ UInt* w32p = NULL;
Bool mbHasShared = False;
Bool allNoAccess = True;
if (!is_sane_SecMap(sm)) BAD("1");
@@ -4998,7 +4998,7 @@
Addr ga;
SecMap* sm;
SecMapIter itr;
- UInt* w32p;
+ UInt* w32p = NULL;
HG_(initIterFM)( map_shmem );
while (HG_(nextIterFM)( map_shmem,
@@ -5668,7 +5668,7 @@
while (HG_(nextIterFM)( map_shmem,
(Word*)(HChar*)&ga, (Word*)(HChar*)&sm )) {
SecMapIter itr;
- UInt* w32p;
+ UInt* w32p = NULL;
tl_assert(sm);
stats_SMs++;
/* Skip this SecMap if the summary bit indicates it is safe to