projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove checks of the return value from bfd_cache_ookup()
[deliverable/binutils-gdb.git]
/
bfd
/
trad-core.c
diff --git
a/bfd/trad-core.c
b/bfd/trad-core.c
index f8c03d739a8f045b15ed3aa91e8b827cf7c7586e..1b9e69f2a91bcfcc50c18628ec011e3e18486398 100644
(file)
--- a/
bfd/trad-core.c
+++ b/
bfd/trad-core.c
@@
-111,8
+111,7
@@
trad_unix_core_file_p (abfd)
{
FILE *stream = bfd_cache_lookup (abfd);
struct stat statbuf;
- if (stream == NULL)
- return 0;
+
if (fstat (fileno (stream), &statbuf) < 0)
{
bfd_set_error (bfd_error_system_call);
This page took
0.023748 seconds
and
4
git commands to generate.