summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/file.c
diff options
context:
space:
mode:
authorjoris <joris@openbsd.org>2005-05-22 17:47:53 +0000
committerjoris <joris@openbsd.org>2005-05-22 17:47:53 +0000
commit5c09d9dd3c2ac1c745ea481858487a7037a64518 (patch)
treeeea4fa45a2fee68a14ce6fb6b803c21830edb3fa /usr.bin/cvs/file.c
parentoptimize nfs_sync() a bit, by not iterating over the list of vnodes (diff)
downloadwireguard-openbsd-5c09d9dd3c2ac1c745ea481858487a7037a64518.tar.xz
wireguard-openbsd-5c09d9dd3c2ac1c745ea481858487a7037a64518.zip
unused variable
Diffstat (limited to 'usr.bin/cvs/file.c')
-rw-r--r--usr.bin/cvs/file.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/cvs/file.c b/usr.bin/cvs/file.c
index fcb129a3394..de3cbac2dc5 100644
--- a/usr.bin/cvs/file.c
+++ b/usr.bin/cvs/file.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: file.c,v 1.75 2005/05/20 17:23:18 joris Exp $ */
+/* $OpenBSD: file.c,v 1.76 2005/05/22 17:47:53 joris Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -614,13 +614,12 @@ cvs_file_getdir(CVSFILE *cf, int flags, char *path, int (*cb)(CVSFILE *, void *)
char *cur, *np;
char pbuf[MAXPATHLEN], fpath[MAXPATHLEN];
struct dirent *ent;
- CVSFILE *cfp, *moo;
+ CVSFILE *cfp;
struct cvs_ent *cvsent;
struct cvs_flist dirs;
DIR *dirp;
CVSENTRIES *entfile;
- moo = NULL;
check_entry = ndirs = nfiles = 0;
SIMPLEQ_INIT(&dirs);