Fix the thread-pool.c compilation
authorTom Tromey <tromey@adacore.com>
Thu, 12 Dec 2019 13:09:40 +0000 (06:09 -0700)
committerTom Tromey <tromey@adacore.com>
Thu, 12 Dec 2019 13:10:27 +0000 (06:10 -0700)
commit2ffe5b9c792fe78dbbcbe31b6fea751285df8876
tree51788211e77cd7e79fbe8808ca5f13977c5f11c3
parent39f34d7b64ee76e07b82a3e57800905d249d8005
Fix the thread-pool.c compilation

A recent commit removed DIAGNOSTIC_IGNORE_UNUSED_FUNCTION, which was
used in thread-pool.c.  This patch changes this code to use
ATTRIBUTE_UNUSED instead.

Tested by rebuilding.

gdb/ChangeLog
2019-12-12  Tom Tromey  <tromey@adacore.com>

* gdbsupport/thread-pool.c (set_thread_name): Use
ATTRIBUTE_UNUSED.

Change-Id: I56d46eaac73690565d0e52db1791411567a918dd
gdb/ChangeLog
gdb/gdbsupport/thread-pool.c