diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2021-12-03 16:31:27 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2021-12-09 14:05:56 -0500 |
commit | 0cb857dcd06957ddc433002cf3b572c0cc9183f5 (patch) | |
tree | 1c48d5b486676110331cb9d326691b09ccee6205 /gdbsupport/cleanups.cc | |
parent | 3d950cb72ded46673bafb21a00252afd5bc1cbbe (diff) | |
download | gdb-0cb857dcd06957ddc433002cf3b572c0cc9183f5.zip gdb-0cb857dcd06957ddc433002cf3b572c0cc9183f5.tar.gz gdb-0cb857dcd06957ddc433002cf3b572c0cc9183f5.tar.bz2 |
gdb/csky-tdep.c: fix -Wunused-but-set-variable error
Fix these, seen when building with clang 14:
CXX csky-tdep.o
/home/simark/src/binutils-gdb/gdb/csky-tdep.c:332:7: error: variable 'need_dummy_stack' set but not used [-Werror,-Wunused-but-set-variable]
int need_dummy_stack = 0;
^
/home/simark/src/binutils-gdb/gdb/csky-tdep.c:805:12: error: variable 'offset' set but not used [-Werror,-Wunused-but-set-variable]
int offset = 0;
^
Change-Id: I6703bcb50e83c50083f716f4084ef6aa30d659c4
Diffstat (limited to 'gdbsupport/cleanups.cc')
0 files changed, 0 insertions, 0 deletions