From 8631194dd93e6c94c574c01b190490719353cbd2 Mon Sep 17 00:00:00 2001 From: "K. Richard Pixley" Date: Wed, 17 Feb 1993 21:43:45 +0000 Subject: [PATCH] * language.c (struct op_print unk_op_print_tab): use the enum values rather naked zeros as initializers. Avoids warnings from ultrix type compilers. --- gdb/ChangeLog | 6 ++++++ gdb/language.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 369cb00..83c9b15 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +Wed Feb 17 13:40:29 1993 K. Richard Pixley (rich@cygnus.com) + + * language.c (struct op_print unk_op_print_tab): use the enum + values rather naked zeros as initializers. Avoids warnings from + ultrix type compilers. + Tue Feb 16 00:53:20 1993 John Gilmore (gnu@cygnus.com) * Makefile.in (VERSION): Roll to 4.7.6. diff --git a/gdb/language.c b/gdb/language.c index d9c7c1c..db4fb45 100644 --- a/gdb/language.c +++ b/gdb/language.c @@ -1198,7 +1198,7 @@ unk_lang_val_print (type, valaddr, address, stream, format, deref_ref, static struct type ** const (unknown_builtin_types[]) = { 0 }; static const struct op_print unk_op_print_tab[] = { - {NULL, 0, 0, 0} + {NULL, OP_NULL, PREC_NULL, 0} }; const struct language_defn unknown_language_defn = { -- 2.7.4