diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-12-22 14:59:55 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-12-22 14:59:55 +0000 |
commit | 46bf6e957f3fbd4ffcde1a67ae1da0dc78048371 (patch) | |
tree | f1195a3b65b417caf190e0acb060c71dea705c87 /usr.bin/cvs/getlog.c | |
parent | e809134865897a94334bfe32ef4bbce49eee0522 (diff) |
cvs_rcs_getpath() cannot fail anymore;
Diffstat (limited to 'usr.bin/cvs/getlog.c')
-rw-r--r-- | usr.bin/cvs/getlog.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/cvs/getlog.c b/usr.bin/cvs/getlog.c index 6e68596a9fd..208e7839b90 100644 --- a/usr.bin/cvs/getlog.c +++ b/usr.bin/cvs/getlog.c @@ -1,4 +1,4 @@ -/* $OpenBSD: getlog.c,v 1.47 2005/11/03 15:57:40 xsa Exp $ */ +/* $OpenBSD: getlog.c,v 1.48 2005/12/22 14:59:54 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -228,8 +228,7 @@ cvs_getlog_local(CVSFILE *cf, void *arg) return (0); } - if (cvs_rcs_getpath(cf, rcspath, sizeof(rcspath)) == NULL) - return (CVS_EX_DATA); + cvs_rcs_getpath(cf, rcspath, sizeof(rcspath)); if (log_rfonly) { cvs_printf("%s\n", rcspath); |