diff options
author | Enze Li <enze.li@hotmail.com> | 2022-07-11 20:53:48 +0800 |
---|---|---|
committer | Enze Li <enze.li@hotmail.com> | 2022-07-13 20:10:18 +0800 |
commit | cf6c1e710ee162a5adb0ae47acb731f2bfecc956 (patch) | |
tree | bd6100f8621d56168c9bb87ad53b16899ab8e318 /gdb/testsuite | |
parent | 52c0a455466aa437e4b8d6967e44767c8f3fa260 (diff) | |
download | gdb-cf6c1e710ee162a5adb0ae47acb731f2bfecc956.zip gdb-cf6c1e710ee162a5adb0ae47acb731f2bfecc956.tar.gz gdb-cf6c1e710ee162a5adb0ae47acb731f2bfecc956.tar.bz2 |
gdbserver: remove unused variable
When building with clang 15, I got this error:
CXX server.o
server.cc:2985:10: error: variable 'new_argc' set but not used [-Werror,-Wunused-but-set-variable]
int i, new_argc;
^
Remove the unused variable to eliminate the error.
Tested by rebuilding on x86_64-linux with clang 15.
Diffstat (limited to 'gdb/testsuite')
0 files changed, 0 insertions, 0 deletions