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,16 +42,17 @@ 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:
minimum_symbol_size = sizeof(Elf32_Sym);
minimum_symbol_size = sizeof( Elf32_Sym );
break;
case ELFCLASS64:
minimum_symbol_size = sizeof(Elf64_Sym);
minimum_symbol_size = sizeof( Elf64_Sym );
break;
default:
return 0;
return nRet;
}
if ( symbol_section->get_entry_size() >= minimum_symbol_size &&