sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else" warning.
* sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else" warning. From-SVN: r32655
This commit is contained in:
parent
9e11785b7c
commit
bf5e8d0c60
|
@ -1,3 +1,8 @@
|
|||
2000-03-20 Andreas Jaeger <aj@suse.de>
|
||||
|
||||
* sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
|
||||
warning.
|
||||
|
||||
2000-03-20 Richard Henderson <rth@cygnus.com>
|
||||
|
||||
* regmove.c (stack_memref_p): Fix typo, reorg for readability.
|
||||
|
|
|
@ -1251,6 +1251,7 @@ sdbout_one_type (type)
|
|||
/* output the individual fields */
|
||||
|
||||
if (TREE_CODE (type) == ENUMERAL_TYPE)
|
||||
{
|
||||
for (tem = TYPE_FIELDS (type); tem; tem = TREE_CHAIN (tem))
|
||||
if (host_integerp (TREE_VALUE (tem), 0))
|
||||
{
|
||||
|
@ -1260,7 +1261,7 @@ sdbout_one_type (type)
|
|||
PUT_SDB_TYPE (T_MOE);
|
||||
PUT_SDB_ENDEF;
|
||||
}
|
||||
|
||||
}
|
||||
else /* record or union type */
|
||||
for (tem = TYPE_FIELDS (type); tem; tem = TREE_CHAIN (tem))
|
||||
/* Output the name, type, position (in bits), size (in bits)
|
||||
|
|
Loading…
Reference in New Issue