From 97225e37f7854d518da734224c7dada3e907312e Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Sat, 4 Jul 1992 03:24:37 +0000 Subject: * elf.c: Remove "(void)" casts from function calls where the return value is ignored, in accordance with GNU coding standards. --- bfd/elf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bfd/elf.c') diff --git a/bfd/elf.c b/bfd/elf.c index 26b2a1e..cb1e936 100644 --- a/bfd/elf.c +++ b/bfd/elf.c @@ -707,7 +707,7 @@ DEFUN(bfd_section_from_phdr, (abfd, hdr, index), (hdr -> p_memsz > hdr -> p_filesz)); sprintf (namebuf, split ? "segment%da" : "segment%d", index); name = bfd_alloc (abfd, strlen (namebuf) + 1); - (void) strcpy (name, namebuf); + strcpy (name, namebuf); newsect = bfd_make_section (abfd, name); newsect -> vma = hdr -> p_vaddr; newsect -> _raw_size = hdr -> p_filesz; @@ -733,7 +733,7 @@ DEFUN(bfd_section_from_phdr, (abfd, hdr, index), { sprintf (namebuf, "segment%db", index); name = bfd_alloc (abfd, strlen (namebuf) + 1); - (void) strcpy (name, namebuf); + strcpy (name, namebuf); newsect = bfd_make_section (abfd, name); newsect -> vma = hdr -> p_vaddr + hdr -> p_filesz; newsect -> _raw_size = hdr -> p_memsz - hdr -> p_filesz; -- cgit v1.1