diff options
author | Gerd Moellmann <gerd@gnu.org> | 2000-09-21 20:54:57 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2000-09-21 20:54:57 +0000 |
commit | 6bbd7a29592594e23e5cb98467e608f10b00f877 (patch) | |
tree | 1e60389bc0f5c349fc0a39b2609b1a60b084e133 /src/dired.c | |
parent | 8179cccd88a3f114b0e4891c033ecd302dfb094e (diff) | |
download | emacs-6bbd7a29592594e23e5cb98467e608f10b00f877.tar.gz emacs-6bbd7a29592594e23e5cb98467e608f10b00f877.tar.bz2 emacs-6bbd7a29592594e23e5cb98467e608f10b00f877.zip |
Avoid some more compiler warnings.
Diffstat (limited to 'src/dired.c')
-rw-r--r-- | src/dired.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/dired.c b/src/dired.c index bedda2a7f13..e0dce3ae46e 100644 --- a/src/dired.c +++ b/src/dired.c @@ -131,7 +131,7 @@ directory_files_internal (directory, full, match, nosort, attrs) 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 @@ file_name_completion (file, dirname, all_flag, ver_flag) { 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 @@ file_name_completion (file, dirname, all_flag, ver_flag) int count = specpdl_ptr - specpdl; struct gcpro gcpro1, gcpro2, gcpro3, gcpro4, gcpro5; + elt = Qnil; + #ifdef VMS extern DIRENTRY * readdirver (); |