Tiny reformat

This commit is contained in:
Serge Lamikhov-Center 2022-06-10 21:29:08 +03:00
parent fc3c397dd0
commit 2879ee62a2

View File

@ -42,6 +42,7 @@ template <class S> class symbol_section_accessor_template
Elf_Xword get_symbols_num() const
{
Elf_Xword nRet = 0;
size_t minimum_symbol_size;
switch ( elf_file.get_class() ) {
case ELFCLASS32:
@ -51,7 +52,7 @@ template <class S> class symbol_section_accessor_template
minimum_symbol_size = sizeof( Elf64_Sym );
break;
default:
return 0;
return nRet;
}
if ( symbol_section->get_entry_size() >= minimum_symbol_size &&