Date: Sun, 22 May 2011 22:16:19 +0000 (UTC) From: Ben Laurie <benl@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r222206 - head/contrib/binutils/ld Message-ID: <201105222216.p4MMGJ2J093038@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: benl Date: Sun May 22 22:16:19 2011 New Revision: 222206 URL: http://svn.freebsd.org/changeset/base/222206 Log: Fix clang warnings. Approved by: philip (mentor) Modified: head/contrib/binutils/ld/ldlang.c Modified: head/contrib/binutils/ld/ldlang.c ============================================================================== --- head/contrib/binutils/ld/ldlang.c Sun May 22 22:15:42 2011 (r222205) +++ head/contrib/binutils/ld/ldlang.c Sun May 22 22:16:19 2011 (r222206) @@ -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; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105222216.p4MMGJ2J093038>