* buildsym.c (start_subfile): Remove unnecessary check for
name == NULL.
This commit is contained in:
parent
fd55216c81
commit
b74db4368d
@ -1,5 +1,8 @@
|
||||
2012-07-09 Doug Evans <dje@google.com>
|
||||
|
||||
* buildsym.c (start_subfile): Remove unnecessary check for
|
||||
name == NULL.
|
||||
|
||||
* psymtab.c (allocate_psymtab): Use host_address_to_string.
|
||||
|
||||
* dwarf2read.c (load_full_type_unit): Simplify.
|
||||
|
@ -572,7 +572,7 @@ start_subfile (const char *name, const char *dirname)
|
||||
current_subfile = subfile;
|
||||
|
||||
/* Save its name and compilation directory name. */
|
||||
subfile->name = (name == NULL) ? NULL : xstrdup (name);
|
||||
subfile->name = xstrdup (name);
|
||||
subfile->dirname = (dirname == NULL) ? NULL : xstrdup (dirname);
|
||||
|
||||
/* Initialize line-number recording for this subfile. */
|
||||
|
Loading…
Reference in New Issue
Block a user