Remove remnant of Chill support
Commit Message
Hi.
I happened to notice this remnant of the old Chill support
which has long since been removed.
2014-11-25 Doug Evans <dje@google.com>
* valops.c (do_search_struct_field): Remove remnant of chill support.
Ref: commit 4c2260aa5c261f7bfb26dcf3aa7c67876720b17e
Comments
Doug Evans writes:
> Hi.
>
> I happened to notice this remnant of the old Chill support
> which has long since been removed.
>
> 2014-11-25 Doug Evans <dje@google.com>
>
> * valops.c (do_search_struct_field): Remove remnant of chill support.
> Ref: commit 4c2260aa5c261f7bfb26dcf3aa7c67876720b17e
Committed.
@@ -1824,9 +1824,7 @@ do_search_struct_field (const char *name, struct value *arg1, int offset,
}
if (t_field_name
- && (t_field_name[0] == '\0'
- || (TYPE_CODE (type) == TYPE_CODE_UNION
- && (strcmp_iw (t_field_name, "else") == 0))))
+ && t_field_name[0] == '\0')
{
struct type *field_type = TYPE_FIELD_TYPE (type, i);