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
This commit is contained in:
Laurynas Biveinis 2000-07-16 21:22:19 +00:00 committed by Zack Weinberg
parent 193833ed17
commit 4b5882417e
2 changed files with 5 additions and 0 deletions

View File

@ -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.

View File

@ -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);