mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix clang warnings.
Approved by: philip (mentor)
This commit is contained in:
parent
eb838be1a5
commit
4e85454a79
1 changed files with 5 additions and 4 deletions
|
|
@ -4274,9 +4274,10 @@ lang_size_sections_1
|
|||
" section %s\n"), os->name);
|
||||
|
||||
input = os->children.head->input_section.section;
|
||||
bfd_set_section_vma (os->bfd_section->owner,
|
||||
os->bfd_section,
|
||||
bfd_section_vma (input->owner, input));
|
||||
(void) bfd_set_section_vma (os->bfd_section->owner,
|
||||
os->bfd_section,
|
||||
bfd_section_vma (input->owner,
|
||||
input));
|
||||
os->bfd_section->size = input->size;
|
||||
break;
|
||||
}
|
||||
|
|
@ -4361,7 +4362,7 @@ lang_size_sections_1
|
|||
os->name, (unsigned long) (newdot - savedot));
|
||||
}
|
||||
|
||||
bfd_set_section_vma (0, os->bfd_section, newdot);
|
||||
(void) bfd_set_section_vma (0, os->bfd_section, newdot);
|
||||
|
||||
os->bfd_section->output_offset = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue