diff options
author | Cary Coutant <ccoutant@gmail.com> | 2016-03-03 14:13:10 -0800 |
---|---|---|
committer | Cary Coutant <ccoutant@gmail.com> | 2016-03-08 20:34:18 -0800 |
commit | 202736beb188043bbac7a3b071f5f7a2b7f85dfa (patch) | |
tree | f144aa6124577317f5b273861a298a651795944a /gold/dirsearch.cc | |
parent | 0863441e8a42031ad1f6957d7f21bae1992c5d44 (diff) | |
download | gdb-202736beb188043bbac7a3b071f5f7a2b7f85dfa.zip gdb-202736beb188043bbac7a3b071f5f7a2b7f85dfa.tar.gz gdb-202736beb188043bbac7a3b071f5f7a2b7f85dfa.tar.bz2 |
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/dirsearch.cc')
-rw-r--r-- | gold/dirsearch.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/dirsearch.cc b/gold/dirsearch.cc index 1b3fefa..6178332 100644 --- a/gold/dirsearch.cc +++ b/gold/dirsearch.cc @@ -102,7 +102,7 @@ class Dir_caches : lock_(), caches_() { } - ~Dir_caches(); + ~Dir_caches() ATTRIBUTE_UNUSED; // Add a cache for a directory. void add(const char*); |