summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/annotate.c
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2005-12-22 14:59:55 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2005-12-22 14:59:55 +0000
commit46bf6e957f3fbd4ffcde1a67ae1da0dc78048371 (patch)
treef1195a3b65b417caf190e0acb060c71dea705c87 /usr.bin/cvs/annotate.c
parente809134865897a94334bfe32ef4bbce49eee0522 (diff)
cvs_rcs_getpath() cannot fail anymore;
Diffstat (limited to 'usr.bin/cvs/annotate.c')
-rw-r--r--usr.bin/cvs/annotate.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/cvs/annotate.c b/usr.bin/cvs/annotate.c
index adb9bd86ecc..e1a3f964623 100644
--- a/usr.bin/cvs/annotate.c
+++ b/usr.bin/cvs/annotate.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: annotate.c,v 1.23 2005/07/25 12:05:43 xsa Exp $ */
+/* $OpenBSD: annotate.c,v 1.24 2005/12/22 14:59:54 xsa Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -191,8 +191,7 @@ cvs_annotate_local(CVSFILE *cf, void *arg)
if (cf->cf_cvstat == CVS_FST_UNKNOWN)
return (0);
- if (cvs_rcs_getpath(cf, rcspath, sizeof(rcspath)) == NULL)
- return (CVS_EX_DATA);
+ cvs_rcs_getpath(cf, rcspath, sizeof(rcspath));
rf = rcs_open(rcspath, RCS_READ);
if (rf == NULL)