diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-06-17 21:44:06 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-06-17 21:44:06 +0000 |
commit | 78e731cd36da5f52b759bbf36cc1eb5d79de38c8 (patch) | |
tree | 9566f0e964930728f09a6fc69807de212ea3624e /sim/igen/gen-icache.c | |
parent | b5d78d39b04b4dcc1197fd0c9470852370539aa6 (diff) | |
download | gdb-78e731cd36da5f52b759bbf36cc1eb5d79de38c8.zip gdb-78e731cd36da5f52b759bbf36cc1eb5d79de38c8.tar.gz gdb-78e731cd36da5f52b759bbf36cc1eb5d79de38c8.tar.bz2 |
* gen.c (gen_entry_expand_opcode): Initialize ``value'' to -1 and
``t'' to NULL.
* igen.c (main): Add default case to switch.
* gen-icache.c (print_icache_extraction): Ditto.
Diffstat (limited to 'sim/igen/gen-icache.c')
-rw-r--r-- | sim/igen/gen-icache.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/igen/gen-icache.c b/sim/igen/gen-icache.c index 88d5d41..5ec1e73 100644 --- a/sim/igen/gen-icache.c +++ b/sim/igen/gen-icache.c @@ -132,6 +132,8 @@ print_icache_extraction (lf *file, else return; break; + default: + abort (); /* Bad switch. */ } /* For the type, default to a simple unsigned */ |