From 4ad08d87e8b16bfc798d154c27bedc304d16176f Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Tue, 5 Dec 2006 23:57:53 +0000 Subject: * cp-valprint.c, p-valprint.c: Revert last change. --- gdb/p-valprint.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/p-valprint.c') diff --git a/gdb/p-valprint.c b/gdb/p-valprint.c index 0049233..33b7974 100644 --- a/gdb/p-valprint.c +++ b/gdb/p-valprint.c @@ -753,7 +753,7 @@ pascal_object_print_value_fields (struct type *type, const gdb_byte *valaddr, int dont_print_statmem) { int i, len, n_baseclasses; - struct obstack tmp_obstack = { 0 }; + struct obstack tmp_obstack; char *last_dont_print = obstack_next_free (&dont_print_statmem_obstack); CHECK_TYPEDEF (type); @@ -922,7 +922,7 @@ pascal_object_print_value (struct type *type, const gdb_byte *valaddr, enum val_prettyprint pretty, struct type **dont_print_vb) { - struct obstack tmp_obstack = { 0 }; + struct obstack tmp_obstack; struct type **last_dont_print = (struct type **) obstack_next_free (&dont_print_vb_obstack); int i, n_baseclasses = TYPE_N_BASECLASSES (type); -- cgit v1.1