projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
926ac87
)
Add ATTRIBUTE_UNUSED to load_build_id_debug_file()'s main_filename parameter.
author
Nick Clifton
<nickc@redhat.com>
Tue, 4 Jan 2022 10:33:11 +0000
(10:33 +0000)
committer
Nick Clifton
<nickc@redhat.com>
Tue, 4 Jan 2022 10:34:01 +0000
(10:34 +0000)
binutils/dwarf.c
patch
|
blob
|
history
diff --git
a/binutils/dwarf.c
b/binutils/dwarf.c
index f14fdbb34fcb17788f577277f03b6bd67bc5d1ff..52d4dd1cad5fc8f6552a67ffdf11e872c1f2cdc2 100644
(file)
--- a/
binutils/dwarf.c
+++ b/
binutils/dwarf.c
@@
-11309,7
+11309,7
@@
try_build_id_prefix (const char * prefix, char * filename, const unsigned char *
/* Try to load a debug file based upon the build-id held in the .note.gnu.build-id section. */
static void
-load_build_id_debug_file (const char * main_filename, void * main_file)
+load_build_id_debug_file (const char * main_filename
ATTRIBUTE_UNUSED
, void * main_file)
{
if (! load_debug_section (note_gnu_build_id, main_file))
return; /* No .note.gnu.build-id section. */