aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2012-02-02 15:36:44 +0000
committerTristan Gingold <gingold@adacore.com>2012-02-02 15:36:44 +0000
commit7c4f9963c7b33e51e4bf1cf8c9de6f870a1d3307 (patch)
tree86138dc94a99ed6a660d3aaf6b69371aaf9c3707 /bfd
parentf149aabd9635963a60436c536fdc56436b927fd4 (diff)
downloadgdb-7c4f9963c7b33e51e4bf1cf8c9de6f870a1d3307.zip
gdb-7c4f9963c7b33e51e4bf1cf8c9de6f870a1d3307.tar.gz
gdb-7c4f9963c7b33e51e4bf1cf8c9de6f870a1d3307.tar.bz2
2012-02-02 Tristan Gingold <gingold@adacore.com>
* bfdio.c (real_fopen): Remove unused vms_modes variable.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/bfdio.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 5efae57..bf3166b 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,9 @@
2012-02-02 Tristan Gingold <gingold@adacore.com>
+ * bfdio.c (real_fopen): Remove unused vms_modes variable.
+
+2012-02-02 Tristan Gingold <gingold@adacore.com>
+
* mach-o.c (bfd_mach_o_read_header): Silent uninitialized
variable warning.
diff --git a/bfd/bfdio.c b/bfd/bfdio.c
index 6f8a7c9..43a7684 100644
--- a/bfd/bfdio.c
+++ b/bfd/bfdio.c
@@ -87,7 +87,6 @@ FILE *
real_fopen (const char *filename, const char *modes)
{
#ifdef VMS
- char vms_modes[4];
char *vms_attr;
/* On VMS, fopen allows file attributes as optionnal arguments.