mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-15 05:01:13 +08:00
* python/py-type.c (make_fielditem): Add gdb_assert_not_reached
as 'default' in the switch.
This commit is contained in:
@ -301,6 +301,8 @@ make_fielditem (struct type *type, int i, enum gdbpy_iter_kind kind)
|
||||
case iter_values:
|
||||
item = convert_field (type, i);
|
||||
break;
|
||||
default:
|
||||
gdb_assert_not_reached ("invalid gdbpy_iter_kind");
|
||||
}
|
||||
return item;
|
||||
|
||||
|
Reference in New Issue
Block a user