summaryrefslogtreecommitdiff
path: root/gold/arm.cc
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@gmail.com>2016-03-03 14:13:10 -0800
committerCary Coutant <ccoutant@gmail.com>2016-03-08 20:34:18 -0800
commit202736beb188043bbac7a3b071f5f7a2b7f85dfa (patch)
treef144aa6124577317f5b273861a298a651795944a /gold/arm.cc
parent0863441e8a42031ad1f6957d7f21bae1992c5d44 (diff)
downloadbinutils-gdb-202736beb188043bbac7a3b071f5f7a2b7f85dfa.tar.gz
Add unused attribute where necessary to quiet GCC 6 warnings.
gold/ PR 19751 * arm.cc (Reloc_stub::Key::name): Add unused attribute. * dirsearch.cc (Dir_caches::~Dir_caches): Likewise.
Diffstat (limited to 'gold/arm.cc')
-rw-r--r--gold/arm.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/arm.cc b/gold/arm.cc
index ed13c8709cc..c47b00224cc 100644
--- a/gold/arm.cc
+++ b/gold/arm.cc
@@ -597,7 +597,7 @@ class Reloc_stub : public Stub
// Name of key. This is mainly for debugging.
std::string
- name() const;
+ name() const ATTRIBUTE_UNUSED;
private:
// Stub type.