diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-12-15 21:47:06 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2023-12-19 05:51:10 -0500 |
commit | 4b75ed17979cbfa1d6579cbd40b4562c6d92968a (patch) | |
tree | 4c581637c3ad63e5a9ceecc903f6bb80bedbdb06 | |
parent | 4ff93a08abd091b27d259983e10f1b69de48f464 (diff) | |
download | fsf-binutils-gdb-4b75ed17979cbfa1d6579cbd40b4562c6d92968a.zip fsf-binutils-gdb-4b75ed17979cbfa1d6579cbd40b4562c6d92968a.tar.gz fsf-binutils-gdb-4b75ed17979cbfa1d6579cbd40b4562c6d92968a.tar.bz2 |
sim: bpf: fix -Wunused-variable warnings
-rw-r--r-- | sim/bpf/bpf-sim.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sim/bpf/bpf-sim.c b/sim/bpf/bpf-sim.c index a4af22b..2939e82 100644 --- a/sim/bpf/bpf-sim.c +++ b/sim/bpf/bpf-sim.c @@ -154,7 +154,6 @@ bpf_write_u64 (SIM_CPU *cpu, bfd_vma address, uint64_t value) static int bpf_trace_printk (SIM_CPU *cpu) { - va_list ap; SIM_DESC sd = CPU_STATE (cpu); bfd_vma fmt_address; @@ -1328,7 +1327,6 @@ sim_create_inferior (SIM_DESC sd, struct bfd *abfd, char * const *argv, char * const *env) { SIM_CPU *cpu = STATE_CPU (sd, 0); - host_callback *cb = STATE_CALLBACK (sd); bfd_vma addr; /* Determine the start address. |