diff options
Diffstat (limited to 'gdb/ada-lang.c')
-rw-r--r-- | gdb/ada-lang.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index 7de7a19..76968d9 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -5628,7 +5628,7 @@ find_struct_field (char *name, struct type *type, int offset, if (field_type_p != NULL) *field_type_p = NULL; if (byte_offset_p != NULL) - *byte_offset_p; + *byte_offset_p = 0; if (bit_offset_p != NULL) *bit_offset_p = 0; if (bit_size_p != NULL) |