summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/checkout.c
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2008-06-08 21:48:57 +0000
committerJoris Vink <joris@cvs.openbsd.org>2008-06-08 21:48:57 +0000
commit21e9c1e30f3dac98330125ac1dab9be43886d70c (patch)
tree183a8f7d44364e7047675935599f3788a5e83c6c /usr.bin/cvs/checkout.c
parentb500720610e579fcb41594ca262b6553ce74f8b8 (diff)
simplification from igor
Diffstat (limited to 'usr.bin/cvs/checkout.c')
-rw-r--r--usr.bin/cvs/checkout.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/cvs/checkout.c b/usr.bin/cvs/checkout.c
index abcaf193522..c5ed6feebda 100644
--- a/usr.bin/cvs/checkout.c
+++ b/usr.bin/cvs/checkout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: checkout.c,v 1.145 2008/06/08 03:03:07 tobias Exp $ */
+/* $OpenBSD: checkout.c,v 1.146 2008/06/08 21:48:56 joris Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -563,9 +563,7 @@ cvs_checkout_file(struct cvs_file *cf, RCSNUM *rnum, char *tag, int co_flags)
if (!(co_flags & CO_REMOVE)) {
cvs_remote_output(entry);
xfree(entry);
- }
- if (!(co_flags & CO_REMOVE)) {
if (!(co_flags & CO_MERGE)) {
(void)xsnprintf(template, MAXPATHLEN,
"%s/checkout.XXXXXXXXXX", cvs_tmpdir);