mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:54:41 +08:00
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.
This commit is contained in:
parent
0863441e8a
commit
202736beb1
@ -1,3 +1,9 @@
|
||||
2016-03-08 Cary Coutant <ccoutant@gmail.com>
|
||||
|
||||
PR 19751
|
||||
* arm.cc (Reloc_stub::Key::name): Add unused attribute.
|
||||
* dirsearch.cc (Dir_caches::~Dir_caches): Likewise.
|
||||
|
||||
2016-03-08 Cary Coutant <ccoutant@gmail.com>
|
||||
Vladimir Radosavljevic <vladimir.radosavljevic@imgtec.com>
|
||||
|
||||
|
@ -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.
|
||||
|
@ -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*);
|
||||
|
Loading…
Reference in New Issue
Block a user