Add ATTRIBUTE_UNUSED_RESULT to parser_state
authorTom Tromey <tromey@adacore.com>
Tue, 26 Feb 2019 21:39:55 +0000 (14:39 -0700)
committerTom Tromey <tromey@adacore.com>
Tue, 5 Mar 2019 15:48:39 +0000 (08:48 -0700)
commit41e3300aa7d31ddb3618e160c6b7e61351ee2af5
treedc94a99ed9f9d425dc9fa39a6b2b8e3225d4bcf4
parent18cb7c9f3add62ff598f0551a767af8aaa04b07e
Add ATTRIBUTE_UNUSED_RESULT to parser_state

This applies ATTRIBUTE_UNUSED_RESULT to parser_state::release.

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

* parser-defs.h (struct parser_state) <release>: Add
ATTRIBUTE_UNUSED_RESULT.
gdb/ChangeLog
gdb/parser-defs.h