diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-12-06 06:39:49 -0700 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2023-12-19 05:51:09 -0500 |
commit | 715dd70c299d20fe4c494de23c5ecf59fdd03bb2 (patch) | |
tree | 80a8d0796afe2616f9360d44e0eff579b0094954 /sim/common/syscall.c | |
parent | e9026cfbcfa4769e1c328dd45798d4483e37fc5d (diff) | |
download | gdb-715dd70c299d20fe4c494de23c5ecf59fdd03bb2.zip gdb-715dd70c299d20fe4c494de23c5ecf59fdd03bb2.tar.gz gdb-715dd70c299d20fe4c494de23c5ecf59fdd03bb2.tar.bz2 |
sim: common: fix -Wunused-variable warnings
Diffstat (limited to 'sim/common/syscall.c')
-rw-r--r-- | sim/common/syscall.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sim/common/syscall.c b/sim/common/syscall.c index 96033db..9d08730 100644 --- a/sim/common/syscall.c +++ b/sim/common/syscall.c @@ -213,9 +213,7 @@ cb_syscall (host_callback *cb, CB_SYSCALL *sc) /* Buffer size. */ int bufsize = sc->arg2; int written = 0; - /* Q is the target address of where all the strings go. */ - TADDR q; - int i, argc, envc, len, ret; + int argc, envc, len, ret; char **argv = cb->argv; char **envp = cb->envp; |