From: K. Richard Pixley Date: Wed, 17 Feb 1993 21:43:45 +0000 (+0000) Subject: * language.c (struct op_print unk_op_print_tab): use the enum values X-Git-Tag: gdb-4_18~20102 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8631194dd93e6c94c574c01b190490719353cbd2;p=external%2Fbinutils.git * language.c (struct op_print unk_op_print_tab): use the enum values rather naked zeros as initializers. Avoids warnings from ultrix type compilers. --- 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 = {