Add ATTRIBUTE_UNUSED_RESULT to scoped_remote_fd::release
authorTom Tromey <tromey@adacore.com>
Tue, 26 Feb 2019 21:52:47 +0000 (14:52 -0700)
committerTom Tromey <tromey@adacore.com>
Tue, 5 Mar 2019 15:48:40 +0000 (08:48 -0700)
commit88a774b9984e42c492ddcf4e4b4b0170ac803576
tree706671c31c602eb071e6835cf45ac5210599b875
parent4e4a8b932b7ae8e239eebb597fbb6cfcb7278a64
Add ATTRIBUTE_UNUSED_RESULT to scoped_remote_fd::release

This applies ATTRIBUTE_UNUSED_RESULT to scoped_remote_fd::release.

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

* remote.c (class scoped_remote_fd) <release>: Add
ATTRIBUTE_UNUSED_RESULT.
gdb/ChangeLog
gdb/remote.c