diff options
Diffstat (limited to 'gdb/common')
-rw-r--r-- | gdb/common/scoped_mmap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/common/scoped_mmap.h b/gdb/common/scoped_mmap.h index 763f40e..0b504c9 100644 --- a/gdb/common/scoped_mmap.h +++ b/gdb/common/scoped_mmap.h @@ -57,7 +57,7 @@ public: DISABLE_COPY_AND_ASSIGN (scoped_mmap); - void *release () noexcept + ATTRIBUTE_UNUSED_RESULT void *release () noexcept { void *mem = m_mem; m_mem = MAP_FAILED; |