From: Julian Seward Date: Wed, 15 Mar 2006 11:50:32 +0000 (+0000) Subject: A couple of initialisations to keep gcc-4.1.0 happy. X-Git-Tag: svn/VALGRIND_3_2_0~186 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=477737598a74f53e9efc62bf18a59fdba80bb946;p=thirdparty%2Fvalgrind.git A couple of initialisations to keep gcc-4.1.0 happy. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5765 --- diff --git a/coregrind/m_aspacemgr/aspacemgr.c b/coregrind/m_aspacemgr/aspacemgr.c index d64b06241f..c7676f1704 100644 --- a/coregrind/m_aspacemgr/aspacemgr.c +++ b/coregrind/m_aspacemgr/aspacemgr.c @@ -3228,6 +3228,8 @@ static void parse_procselfmaps ( UWord maj, min, dev; ULong foffset; + foffset = ino = 0; /* keep gcc-4.1.0 happy */ + read_procselfmaps_into_buf(); aspacem_assert('\0' != procmap_buf[0] && 0 != buf_n_tot); diff --git a/coregrind/m_main.c b/coregrind/m_main.c index 9faf0c5540..70fb5491aa 100644 --- a/coregrind/m_main.c +++ b/coregrind/m_main.c @@ -1951,7 +1951,7 @@ Int main(Int argc, HChar **argv, HChar **envp) Addr initial_client_TOC = 0; Addr clstack_top = 0; SizeT clstack_max_size = 0; - UInt* client_auxv; + UInt* client_auxv = NULL; Int loglevel, i; Bool logging_to_fd; struct vki_rlimit zero = { 0, 0 };