* python/py-type.c (make_fielditem): Add gdb_assert_not_reached
as 'default' in the switch.
This commit is contained in:
parent
b86af38a5a
commit
0d3a2e8a79
|
@ -1,3 +1,8 @@
|
|||
2013-05-20 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* python/py-type.c (make_fielditem): Add gdb_assert_not_reached
|
||||
as 'default' in the switch.
|
||||
|
||||
2013-05-20 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* python/py-inferior.c (gdbpy_inferiors): Update. Hoist
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue