[gdbserver] Remove unused variables

Yao Qi yao@codesourcery.com
Thu Sep 2 14:00:00 GMT 2010


Hi,
This patch is to remove unused variables in order to fix some build
failures I find today on GDB CVS HEAD.

gdb-mainline/gdb/gdbserver/server.c: In function 'start_inferior':
gdb-mainline/gdb/gdbserver/server.c:276:14: error: variable 'ptid' set
but not used [-Werror=unused-but-set-variable]
gdb-mainline/gdb/gdbserver/server.c: In function
'queue_stop_reply_callback':
gdb-mainline/gdb/gdbserver/server.c:2158:32: error: variable 'status'
set but not used [-Werror=unused-but-set-variable]

Tested on X86-64 native build.  No regressions.

-- 
Yao Qi
CodeSourcery
yao@codesourcery.com
(650) 331-3385 x739
-------------- next part --------------
A non-text attachment was scrubbed...
Name: werror.patch
Type: text/x-patch
Size: 3815 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20100902/acc747da/attachment.bin>


More information about the Gdb-patches mailing list