aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfdio.c
diff options
context:
space:
mode:
authorSimon Cook <simon.cook@embecosm.com>2024-04-16 11:54:08 +0100
committerNick Clifton <nickc@redhat.com>2024-04-16 11:59:41 +0100
commitab0a395b54db4c5492806fa7865bbdddce80ece3 (patch)
tree0e02ed37b1cd9160085ee3ed587eb01159c3b0ce /bfd/bfdio.c
parentbc69768ab6783b3d1d8361f57ab76a1337028890 (diff)
downloadgdb-ab0a395b54db4c5492806fa7865bbdddce80ece3.zip
gdb-ab0a395b54db4c5492806fa7865bbdddce80ece3.tar.gz
gdb-ab0a395b54db4c5492806fa7865bbdddce80ece3.tar.bz2
Remove debug printout from 9dd918142787246ea7ed53494d9cbc6b51486133
Diffstat (limited to 'bfd/bfdio.c')
-rw-r--r--bfd/bfdio.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/bfd/bfdio.c b/bfd/bfdio.c
index a69c1c3..2a7f77f 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);