diff options
author | Jeff Law <law@redhat.com> | 1996-12-06 21:33:48 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1996-12-06 21:33:48 +0000 |
commit | 7c52bf32f2066395e5287a6c13b904d4be4ecb21 (patch) | |
tree | 6e58ecf0ac15ebe96571fd9350673d0e91b8e734 /sim/mn10300/interp.c | |
parent | fc038f56563e363ea8b4ed91c40fd74978b50787 (diff) | |
download | gdb-7c52bf32f2066395e5287a6c13b904d4be4ecb21.zip gdb-7c52bf32f2066395e5287a6c13b904d4be4ecb21.tar.gz gdb-7c52bf32f2066395e5287a6c13b904d4be4ecb21.tar.bz2 |
* interp.c: Delete unused global variable "OP".
(sim_resume): Remove unused variable "opcode".
* simops.c: Fix some uninitialized variable problems, add
parens to fix various -Wall warnings.
Fixing assorted -Wall problems.
Diffstat (limited to 'sim/mn10300/interp.c')
-rw-r--r-- | sim/mn10300/interp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sim/mn10300/interp.c b/sim/mn10300/interp.c index a85c265..c17e7c9 100644 --- a/sim/mn10300/interp.c +++ b/sim/mn10300/interp.c @@ -15,8 +15,6 @@ host_callback *mn10300_callback; int mn10300_debug; -uint32 OP[4]; - static struct hash_entry *lookup_hash PARAMS ((uint32 ins, int)); static long hash PARAMS ((long)); static void init_system PARAMS ((void)); @@ -352,7 +350,7 @@ void sim_resume (step, siggnal) int step, siggnal; { - uint32 inst, opcode; + uint32 inst; reg_t oldpc; struct hash_entry *h; |