forked from Imagelibrary/binutils-gdb
2003-01-09 Andrew Cagney <ac131313@redhat.com>
* somsolib.h: Fix function indentation. * disasm.c, buildsym.c, buildsym.h: Eliminate PTR. * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ. * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ. * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ. * somsolib.c, inftarg.c: Remove assignment in if conditional.
This commit is contained in:
@@ -329,8 +329,8 @@ vb_match (struct type *type, int index, struct type *basetype)
|
||||
|
||||
if (TYPE_NAME (basetype) != NULL
|
||||
&& TYPE_NAME (TYPE_TARGET_TYPE (fieldtype)) != NULL
|
||||
&& STREQ (TYPE_NAME (basetype),
|
||||
TYPE_NAME (TYPE_TARGET_TYPE (fieldtype))))
|
||||
&& strcmp (TYPE_NAME (basetype),
|
||||
TYPE_NAME (TYPE_TARGET_TYPE (fieldtype))) == 0)
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user