diff options
Diffstat (limited to 'gdb/target-descriptions.c')
-rw-r--r-- | gdb/target-descriptions.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/target-descriptions.c b/gdb/target-descriptions.c index 7896dd1..1a90110 100644 --- a/gdb/target-descriptions.c +++ b/gdb/target-descriptions.c @@ -831,10 +831,7 @@ static struct tdesc_type tdesc_predefined_types[] = static struct tdesc_type * tdesc_predefined_type (enum tdesc_type_kind kind) { - int ix; - struct tdesc_type *type; - - for (ix = 0; ix < ARRAY_SIZE (tdesc_predefined_types); ix++) + for (int ix = 0; ix < ARRAY_SIZE (tdesc_predefined_types); ix++) if (tdesc_predefined_types[ix].kind == kind) return &tdesc_predefined_types[ix]; |