aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurynas Biveinis <lauras@softhome.net>2000-07-16 21:22:19 +0000
committerZack Weinberg <zack@gcc.gnu.org>2000-07-16 21:22:19 +0000
commit4b5882417ed3433ff48276df64e7e1274a1851f2 (patch)
tree7d2a433e2781803ff01e5485ee759545d3ffb935
parent193833ed171fab065b9ef7cc872d114da526b534 (diff)
downloadgcc-4b5882417ed3433ff48276df64e7e1274a1851f2.zip
gcc-4b5882417ed3433ff48276df64e7e1274a1851f2.tar.gz
gcc-4b5882417ed3433ff48276df64e7e1274a1851f2.tar.bz2
cppfiles.c (read_name_map): Set map_list_ptr->map_list_map to NULL.
2000-07-16 Laurynas Biveinis <lauras@softhome.net> * cppfiles.c (read_name_map): Set map_list_ptr->map_list_map to NULL. From-SVN: r35065
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/cppfiles.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ae4aedf..534895e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2000-07-16 Laurynas Biveinis <lauras@softhome.net>
+
+ * cppfiles.c (read_name_map): Set map_list_ptr->map_list_map to NULL.
+
2000-07-16 Mark Mitchell <mark@codesourcery.com>
* dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): Fix typo.
diff --git a/gcc/cppfiles.c b/gcc/cppfiles.c
index 2b15371..fe9f026 100644
--- a/gcc/cppfiles.c
+++ b/gcc/cppfiles.c
@@ -881,6 +881,7 @@ read_name_map (pfile, dirname)
map_list_ptr = ((struct file_name_map_list *)
xmalloc (sizeof (struct file_name_map_list)));
map_list_ptr->map_list_name = xstrdup (dirname);
+ map_list_ptr->map_list_map = NULL;
name = (char *) alloca (strlen (dirname) + strlen (FILE_NAME_MAP_FILE) + 2);
strcpy (name, dirname);