| commit | 0cb857dcd06957ddc433002cf3b572c0cc9183f5 | [log] [tgz] |
|---|---|---|
| author | Simon Marchi <simon.marchi@polymtl.ca> | Fri Dec 03 16:31:27 2021 -0500 |
| committer | Simon Marchi <simon.marchi@efficios.com> | Thu Dec 09 14:05:56 2021 -0500 |
| tree | 1c48d5b486676110331cb9d326691b09ccee6205 | |
| parent | 3d950cb72ded46673bafb21a00252afd5bc1cbbe [diff] |
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