aboutsummaryrefslogtreecommitdiff
path: root/gdb/stabsread.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/stabsread.c')
-rw-r--r--gdb/stabsread.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/stabsread.c b/gdb/stabsread.c
index c81b21e..ba36fb2 100644
--- a/gdb/stabsread.c
+++ b/gdb/stabsread.c
@@ -2967,8 +2967,7 @@ read_struct_type (pp, type, objfile)
|| !attach_fn_fields_to_type (&fi, type)
|| !read_tilde_fields (&fi, pp, type, objfile))
{
- do_cleanups (back_to);
- return (error_type (pp, objfile));
+ type = error_type (pp, objfile);
}
do_cleanups (back_to);