summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r--usr.bin/cvs/repository.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/cvs/repository.c b/usr.bin/cvs/repository.c
index 24951cde33a..30109faa4b3 100644
--- a/usr.bin/cvs/repository.c
+++ b/usr.bin/cvs/repository.c
@@ -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 <joris@openbsd.org>
*
@@ -45,7 +45,6 @@ void
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 @@ cvs_repository_lock(const char *repo)
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);