diff options
author | John Baldwin <jhb@FreeBSD.org> | 2016-06-11 13:10:48 -0700 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2016-06-14 11:50:58 -0700 |
commit | 4bf5402d913e9a5d17d9ffb8701dbd054e1d158c (patch) | |
tree | d1a2a1b9c910c64d81e33dcbcd4926ae9ca89d2e /gdb/xml-support.c | |
parent | 683cd65eb4787e3e2921076699e0ca9b00762df3 (diff) | |
download | gdb-4bf5402d913e9a5d17d9ffb8701dbd054e1d158c.zip gdb-4bf5402d913e9a5d17d9ffb8701dbd054e1d158c.tar.gz gdb-4bf5402d913e9a5d17d9ffb8701dbd054e1d158c.tar.bz2 |
Remove unneeded checks on type lengths.
Type lengths are unsigned, so they are always greater than or equal to
zero. A check against the length of 'tgt_type' is retained to prevent
dividing by zero.
gdb/ChangeLog:
* v850-tdep.c (v850_use_struct_convention): Trim type length checks.
Diffstat (limited to 'gdb/xml-support.c')
0 files changed, 0 insertions, 0 deletions