Avoid compilation warnings on MinGW.
authorEli Zaretskii <eliz@gnu.org>
Sat, 2 Mar 2019 13:22:11 +0000 (15:22 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 2 Mar 2019 13:22:11 +0000 (15:22 +0200)
commita6a4b2c636b29de09dea890b448f99804ef7bc18
tree26d0325ebc66282bd6316f3d103cc378dd6bd024
parent742a7df5f4a149f0818aaccfc432c4c0c9a6e26d
Avoid compilation warnings on MinGW.

gdb/ChangeLog:
2019-03-02  Eli Zaretskii  <eliz@gnu.org>

* xml-syscall.c (xml_list_syscalls_by_group): Drop 'struct' from
for-loop range, to avoid compiler warnings.

* tui/tui.c (tui_enable) [__MINGW32__]: Don't declare 'cap', to
avoid compiler warnings about unused variables.
gdb/ChangeLog
gdb/tui/tui.c
gdb/xml-syscall.c