diff --git a/bfd/bfdio.c b/bfd/bfdio.c index a69c1c31cfa..2a7f77fa8d4 100644 --- a/bfd/bfdio.c +++ b/bfd/bfdio.c @@ -248,8 +248,6 @@ _bfd_real_fopen (const char *filename, const char *modes) MultiByteToWideChar (cp, 0, modes, -1, modesW, sizeof(modesW)); FILE * file = _wfopen (fullPath, modesW); - if (!file) - perror("Error opening file"); free (fullPath); return close_on_exec (file);