summaryrefslogtreecommitdiff
path: root/gdb/cp-valprint.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2006-12-05 23:57:53 +0000
committerDaniel Jacobowitz <dan@debian.org>2006-12-05 23:57:53 +0000
commit6b883f515c6ae51493cbcdbd8f5c0535e39c1c85 (patch)
tree1f90765beb40815d5c676e5810e1983bd0484e96 /gdb/cp-valprint.c
parente3a4b3ad5c39146380b33b8bbeda198d07519786 (diff)
downloadgdb-6b883f515c6ae51493cbcdbd8f5c0535e39c1c85.tar.gz
* cp-valprint.c, p-valprint.c: Revert last change.
Diffstat (limited to 'gdb/cp-valprint.c')
-rw-r--r--gdb/cp-valprint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/cp-valprint.c b/gdb/cp-valprint.c
index 2c086b17bdd..84b66fe7a81 100644
--- a/gdb/cp-valprint.c
+++ b/gdb/cp-valprint.c
@@ -265,7 +265,7 @@ cp_print_value_fields (struct type *type, struct type *real_type,
struct type **dont_print_vb,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);
int fields_seen = 0;
@@ -524,7 +524,7 @@ cp_print_value (struct type *type, struct type *real_type,
struct ui_file *stream, int format, int recurse,
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);