=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/repository.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- src/usr.bin/cvs/repository.c 2006/06/02 19:10:24 1.3 +++ src/usr.bin/cvs/repository.c 2006/06/14 12:35:09 1.4 @@ -1,4 +1,4 @@ -/* $OpenBSD: repository.c,v 1.3 2006/06/02 19:10:24 david Exp $ */ +/* $OpenBSD: repository.c,v 1.4 2006/06/14 12:35:09 joris Exp $ */ /* * Copyright (c) 2006 Joris Vink * @@ -45,7 +45,6 @@ cvs_repository_lock(const char *repo) { int l, i; - uid_t myuid; struct stat st; char fpath[MAXPATHLEN]; struct passwd *pw; @@ -56,7 +55,6 @@ if (l == -1 || l >= (int)sizeof(fpath)) fatal("cvs_repository_lock: overflow"); - myuid = getuid(); for (i = 0; i < CVS_LOCK_TRIES; i++) { if (cvs_quit) fatal("received signal %d", sig_received);