aboutsummaryrefslogtreecommitdiff
path: root/gdb/common
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/common')
-rw-r--r--gdb/common/scoped_fd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/common/scoped_fd.h b/gdb/common/scoped_fd.h
index bdd22f5..c4a494b 100644
--- a/gdb/common/scoped_fd.h
+++ b/gdb/common/scoped_fd.h
@@ -56,7 +56,7 @@ public:
DISABLE_COPY_AND_ASSIGN (scoped_fd);
- int release () noexcept
+ ATTRIBUTE_UNUSED_RESULT int release () noexcept
{
int fd = m_fd;
m_fd = -1;