diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-31 10:37:26 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-31 10:37:26 +0100 |
commit | 155553ac9574aec457be10c4fef56a97dcbf7fdb (patch) | |
tree | aff2d30b61a137dd8f9f5286511964859991d548 /ucb | |
parent | e3a47c09500828d27c096c5bfb461c61f6e71378 (diff) |
Work around GCC -Wunused-result
(cf. <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66425> "(void) cast doesn't
suppress __attribute__((warn_unused_result))"). Interestingly, this only occurs
with GCC 7, look like <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70365>
"warn_unused_result doesn't warn when the result is a class with a destructor"
is fixed now.
Change-Id: I7b4a066d0bf59080e47404d718917b5f38a98832
Diffstat (limited to 'ucb')
0 files changed, 0 insertions, 0 deletions