diff src/fileio.c @ 3462:6c7605dfcf07

[xemacs-hg @ 2006-06-19 18:19:33 by james] Fix various problems found by static checkers: use of uninitialized values, dereferencing pointers before checking whether they are NULL, memory leaks, and incomplete checking of return values. <m3k67gpyhk.fsf@jerrypc.cs.usu.edu>
author james
date Mon, 19 Jun 2006 18:19:38 +0000
parents 902d5bd9b75c
children 305157cf3ebb
line wrap: on
line diff
--- a/src/fileio.c	Mon Jun 19 18:10:19 2006 +0000
+++ b/src/fileio.c	Mon Jun 19 18:19:38 2006 +0000
@@ -2855,7 +2855,6 @@
 
   if (qxe_stat (XSTRING_DATA (filename), &st) < 0)
     {
-      if (fd >= 0) retry_close (fd);
     badopen:
       if (NILP (visit))
 	report_file_error ("Opening input file", filename);