diff options
author | benl <benl@FreeBSD.org> | 2011-05-22 22:16:19 +0000 |
---|---|---|
committer | benl <benl@FreeBSD.org> | 2011-05-22 22:16:19 +0000 |
commit | 9dc57d1405dd2c0bcbeb0a8f971ae24937bff1b3 (patch) | |
tree | 7e2cc5ca4399cfb9376a1cd3210cc376dfcb6d01 /contrib/binutils | |
parent | 3bcf41780896421127b6d148e6a078845f50a54f (diff) | |
download | FreeBSD-src-9dc57d1405dd2c0bcbeb0a8f971ae24937bff1b3.zip FreeBSD-src-9dc57d1405dd2c0bcbeb0a8f971ae24937bff1b3.tar.gz |
Fix clang warnings.
Approved by: philip (mentor)
Diffstat (limited to 'contrib/binutils')
-rw-r--r-- | contrib/binutils/ld/ldlang.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/contrib/binutils/ld/ldlang.c b/contrib/binutils/ld/ldlang.c index 5c26974..191936f 100644 --- a/contrib/binutils/ld/ldlang.c +++ b/contrib/binutils/ld/ldlang.c @@ -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; } |