diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-12-06 20:08:13 -0700 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2023-12-07 22:31:21 -0700 |
commit | 49b556efb55f50d6cd3db39e05edc84df1c3cb69 (patch) | |
tree | 1cfcbb4bb45b23232dea33ea977a6105c3446989 /sim/sh | |
parent | 0e12bb132e9a7de8cb234b21526b301e63705420 (diff) | |
download | gdb-49b556efb55f50d6cd3db39e05edc84df1c3cb69.zip gdb-49b556efb55f50d6cd3db39e05edc84df1c3cb69.tar.gz gdb-49b556efb55f50d6cd3db39e05edc84df1c3cb69.tar.bz2 |
sim: sh: fix -Wunused-but-set-variable warnings
Diffstat (limited to 'sim/sh')
-rw-r--r-- | sim/sh/interp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sim/sh/interp.c b/sim/sh/interp.c index 2e2e136..1982b7f 100644 --- a/sim/sh/interp.c +++ b/sim/sh/interp.c @@ -1667,10 +1667,8 @@ dump_profile (void) { unsigned int minpc; unsigned int maxpc; - unsigned short *p; int i; - p = saved_state.asregs.profile_hist; minpc = 0; maxpc = (1 << sim_profile_size); |