mirror of
https://github.com/serge1/ELFIO.git
synced 2024-12-26 18:15:40 +00:00
Refactoring for 'note' section dump
This commit is contained in:
parent
e451ea214a
commit
89a6dfb4c1
@ -934,7 +934,7 @@ class dump
|
||||
{
|
||||
out << " [" << DUMP_DEC_FORMAT( 2 ) << no << "] ";
|
||||
|
||||
const note_tag_t* name_group;
|
||||
const note_tag_t* name_group = std::end( note_tag_table );
|
||||
std::vector<note_tag_t::note_values_t>::const_iterator type_value;
|
||||
|
||||
name_group = std::find_if(
|
||||
@ -962,7 +962,6 @@ class dump
|
||||
}
|
||||
|
||||
if ( descsz != 0 ) {
|
||||
|
||||
for ( Elf_Word i = 0; i < descsz; ++i ) {
|
||||
if ( i % 16 == 0 ) {
|
||||
out << std::endl << " ";
|
||||
|
Loading…
Reference in New Issue
Block a user