This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Committed]: Minor cleanup in real_fopen


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 ----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]