Mercurial > emacs
diff src/dired.c @ 31829:43566b0aec59
Avoid some more compiler warnings.
| author | Gerd Moellmann <gerd@gnu.org> |
|---|---|
| date | Thu, 21 Sep 2000 20:54:57 +0000 |
| parents | b50a0a8a0825 |
| children | 233d9eb5dff0 |
line wrap: on
line diff
--- a/src/dired.c Thu Sep 21 20:15:55 2000 +0000 +++ b/src/dired.c Thu Sep 21 20:54:57 2000 +0000 @@ -131,7 +131,7 @@ Lisp_Object list, name, dirfilename; Lisp_Object encoded_directory; Lisp_Object handler; - struct re_pattern_buffer *bufp; + struct re_pattern_buffer *bufp = NULL; int needsep = 0; struct gcpro gcpro1, gcpro2; @@ -389,7 +389,7 @@ { DIR *d; DIRENTRY *dp; - int bestmatchsize, skip; + int bestmatchsize = 0, skip; register int compare, matchsize; unsigned char *p1, *p2; int matchcount = 0; @@ -402,6 +402,8 @@ int count = specpdl_ptr - specpdl; struct gcpro gcpro1, gcpro2, gcpro3, gcpro4, gcpro5; + elt = Qnil; + #ifdef VMS extern DIRENTRY * readdirver ();
