diff src/fileio.c @ 31829:43566b0aec59

Avoid some more compiler warnings.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 21 Sep 2000 20:54:57 +0000
parents 4da753e82172
children bc4bfaca97aa
line wrap: on
line diff
--- a/src/fileio.c	Thu Sep 21 20:15:55 2000 +0000
+++ b/src/fileio.c	Thu Sep 21 20:54:57 2000 +0000
@@ -1973,7 +1973,7 @@
   unsigned char *nm;
 
   register unsigned char *s, *p, *o, *x, *endp;
-  unsigned char *target;
+  unsigned char *target = NULL;
   int total = 0;
   int substituted = 0;
   unsigned char *xnm;
@@ -2180,6 +2180,7 @@
 
   /* NOTREACHED */
 #endif /* not VMS */
+  return Qnil;
 }
 
 /* A slightly faster and more convenient way to get
@@ -3421,7 +3422,7 @@
   struct gcpro gcpro1, gcpro2, gcpro3, gcpro4;
   Lisp_Object handler, val, insval, orig_filename;
   Lisp_Object p;
-  int total;
+  int total = 0;
   int not_regular = 0;
   unsigned char read_buf[READ_BUF_SIZE];
   struct coding_system coding;
@@ -4397,7 +4398,7 @@
 {
   register int desc;
   int failure;
-  int save_errno;
+  int save_errno = 0;
   unsigned char *fn;
   struct stat st;
   int tem;