aboutsummaryrefslogtreecommitdiff
path: root/gdb/language.c
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1993-02-17 21:43:45 +0000
committerK. Richard Pixley <rich@cygnus>1993-02-17 21:43:45 +0000
commit8631194dd93e6c94c574c01b190490719353cbd2 (patch)
tree115516bf6c33534cbef4fd32b3439cd2a762b068 /gdb/language.c
parent2338f9c4dd55f0bf16abcaeb65377651dd1d7c51 (diff)
downloadgdb-8631194dd93e6c94c574c01b190490719353cbd2.zip
gdb-8631194dd93e6c94c574c01b190490719353cbd2.tar.gz
gdb-8631194dd93e6c94c574c01b190490719353cbd2.tar.bz2
* language.c (struct op_print unk_op_print_tab): use the enum values
rather naked zeros as initializers. Avoids warnings from ultrix type compilers.
Diffstat (limited to 'gdb/language.c')
-rw-r--r--gdb/language.c2
1 files changed, 1 insertions, 1 deletions
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 = {