module.c (read_module): Remove useless string duplication.
2010-10-06 Mikael Morin <mikael@gcc.gnu.org> * module.c (read_module): Remove useless string duplication. From-SVN: r165028
This commit is contained in:
parent
476bed6606
commit
3e212b5d2b
@ -1,3 +1,7 @@
|
||||
2010-10-06 Mikael Morin <mikael@gcc.gnu.org>
|
||||
|
||||
* module.c (read_module): Remove useless string duplication.
|
||||
|
||||
2010-10-06 Mikael Morin <mikael@gcc.gnu.org>
|
||||
|
||||
* gfortranspec.c (append_arg): Remove commented code.
|
||||
|
@ -4372,8 +4372,8 @@ read_module (void)
|
||||
p = name;
|
||||
|
||||
/* Exception: Always import vtabs & vtypes. */
|
||||
if (p == NULL && (strcmp (xstrndup (name,5), "vtab$") == 0
|
||||
|| strcmp (xstrndup (name,6), "vtype$") == 0))
|
||||
if (p == NULL && (strncmp (name, "vtab$", 5) == 0
|
||||
|| strncmp (name, "vtype$", 6) == 0))
|
||||
p = name;
|
||||
|
||||
/* Skip symtree nodes not in an ONLY clause, unless there
|
||||
|
Loading…
Reference in New Issue
Block a user