diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-12-06 06:38:29 -0700 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2023-12-07 21:41:27 -0700 |
commit | ee45e43358fdd19cbf061f813c8c544c5e225606 (patch) | |
tree | fb8ce09063e95acc2d2453ae8dda4f934e4fa9cc /sim/bfin/interp.c | |
parent | 058d0bf5f09a4488b6d7f3d3aa5fa0958e886c3b (diff) | |
download | gdb-ee45e43358fdd19cbf061f813c8c544c5e225606.zip gdb-ee45e43358fdd19cbf061f813c8c544c5e225606.tar.gz gdb-ee45e43358fdd19cbf061f813c8c544c5e225606.tar.bz2 |
sim: bfin: fix -Wunused-but-set-variable warnings
Diffstat (limited to 'sim/bfin/interp.c')
-rw-r--r-- | sim/bfin/interp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sim/bfin/interp.c b/sim/bfin/interp.c index 8ad6769..9a141a8 100644 --- a/sim/bfin/interp.c +++ b/sim/bfin/interp.c @@ -1011,7 +1011,6 @@ bfin_user_init (SIM_DESC sd, SIM_CPU *cpu, struct bfd *abfd, if (auxvt) { # define AT_PUSH(at, val) \ - auxvt_size += 8; \ sp -= 4; \ auxvt = (val); \ sim_write (sd, sp, &auxvt, 4); \ @@ -1020,7 +1019,6 @@ bfin_user_init (SIM_DESC sd, SIM_CPU *cpu, struct bfd *abfd, sim_write (sd, sp, &auxvt, 4) unsigned int egid = getegid (), gid = getgid (); unsigned int euid = geteuid (), uid = getuid (); - bu32 auxvt_size = 0; AT_PUSH (AT_NULL, 0); AT_PUSH (AT_SECURE, egid != gid || euid != uid); AT_PUSH (AT_EGID, egid); |