mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
Remove unused overload of line_header::file_name_at
I noticed that one of the overloads of line_header::file_name_at is unused. This patch removes it. gdb/ChangeLog 2019-04-23 Tom Tromey <tromey@adacore.com> * dwarf2read.c (line_header::file_name_at): Remove unused overload.
This commit is contained in:
parent
5c565afd4c
commit
9e97ba436a
@ -1,3 +1,8 @@
|
||||
2019-04-23 Tom Tromey <tromey@adacore.com>
|
||||
|
||||
* dwarf2read.c (line_header::file_name_at): Remove unused
|
||||
overload.
|
||||
|
||||
2019-04-23 Tom de Vries <tdevries@suse.de>
|
||||
|
||||
PR gdb/24438
|
||||
|
@ -1036,14 +1036,6 @@ struct line_header
|
||||
return &file_names[vec_index];
|
||||
}
|
||||
|
||||
/* Const version of the above. */
|
||||
const file_entry *file_name_at (unsigned int index) const
|
||||
{
|
||||
if (index >= file_names.size ())
|
||||
return NULL;
|
||||
return &file_names[index];
|
||||
}
|
||||
|
||||
/* Offset of line number information in .debug_line section. */
|
||||
sect_offset sect_off {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user