diff options
author | 2005-12-22 14:59:54 +0000 | |
---|---|---|
committer | 2005-12-22 14:59:54 +0000 | |
commit | 31f670fb0d7a84240bbe365cb0f25fe14b2d2897 (patch) | |
tree | 95d8e37f615bf4968ee2b071a734779108ccebf0 /usr.bin/cvs/annotate.c | |
parent | Teach gdb how to unwind amd64 kernel trap frames. (diff) | |
download | wireguard-openbsd-31f670fb0d7a84240bbe365cb0f25fe14b2d2897.tar.xz wireguard-openbsd-31f670fb0d7a84240bbe365cb0f25fe14b2d2897.zip |
cvs_rcs_getpath() cannot fail anymore;
Diffstat (limited to 'usr.bin/cvs/annotate.c')
-rw-r--r-- | usr.bin/cvs/annotate.c | 5 |
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) |