diff options
author | Doug Evans <dje@google.com> | 2012-07-10 03:49:25 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2012-07-10 03:49:25 +0000 |
commit | b74db4368dc89ddbba419ea4fa7acaa27df03bfd (patch) | |
tree | 28903c208d84ee21eb99be96521de57bea9d85d9 /gdb/buildsym.c | |
parent | fd55216c81fd25259ef30a5914ee82b727eddd8b (diff) | |
download | gdb-b74db4368dc89ddbba419ea4fa7acaa27df03bfd.zip gdb-b74db4368dc89ddbba419ea4fa7acaa27df03bfd.tar.gz gdb-b74db4368dc89ddbba419ea4fa7acaa27df03bfd.tar.bz2 |
* buildsym.c (start_subfile): Remove unnecessary check for
name == NULL.
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r-- | gdb/buildsym.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c index f1fb4be..428d332 100644 --- a/gdb/buildsym.c +++ b/gdb/buildsym.c @@ -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. */ |