[Committed]: Minor cleanup in real_fopen

Tristan Gingold gingold@adacore.com
Thu Feb 2 15:36:00 GMT 2012


Hi,

this patch removes an unused variable for VMS code.  Was not caught by DEC compiler.

Tristan.

bfd/
2012-02-02  Tristan Gingold  <gingold@adacore.com>

	* bfdio.c (real_fopen): Remove unused vms_modes variable.

diff -c -r1.32 bfdio.c
*** bfdio.c	20 Jan 2012 14:42:57 -0000	1.32
--- bfdio.c	2 Feb 2012 15:35:25 -0000
***************
*** 87,93 ****
  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.
--- 87,92 ----



More information about the Binutils mailing list