summaryrefslogtreecommitdiffstats
path: root/contrib/binutils/bfd/opncls.c
diff options
context:
space:
mode:
authorbenl <benl@FreeBSD.org>2011-06-18 13:56:33 +0000
committerbenl <benl@FreeBSD.org>2011-06-18 13:56:33 +0000
commit2071e3510abcb0d23655e9ec6f21ded8a0d7fa8a (patch)
tree6edd0c06e1319e9f8e2572723af2f2d72fabda97 /contrib/binutils/bfd/opncls.c
parenta90ed93de49d2b89aafba19680f2fd1d400eb91e (diff)
downloadFreeBSD-src-2071e3510abcb0d23655e9ec6f21ded8a0d7fa8a.zip
FreeBSD-src-2071e3510abcb0d23655e9ec6f21ded8a0d7fa8a.tar.gz
Fix clang warnings.
Approved by: philip (mentor)
Diffstat (limited to 'contrib/binutils/bfd/opncls.c')
-rw-r--r--contrib/binutils/bfd/opncls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/binutils/bfd/opncls.c b/contrib/binutils/bfd/opncls.c
index 9e0cc26..ad22db5 100644
--- a/contrib/binutils/bfd/opncls.c
+++ b/contrib/binutils/bfd/opncls.c
@@ -231,7 +231,7 @@ bfd_fopen (const char *filename, const char *target, const char *mode, int fd)
then it may have been opened with special flags that make it
unsafe to close and reopen the file. */
if (fd == -1)
- bfd_set_cacheable (nbfd, TRUE);
+ (void) bfd_set_cacheable (nbfd, TRUE);
return nbfd;
}
OpenPOWER on IntegriCloud