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/commit.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/commit.c')
-rw-r--r-- | usr.bin/cvs/commit.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/cvs/commit.c b/usr.bin/cvs/commit.c index cd5795753d6..b5aeb0b6da9 100644 --- a/usr.bin/cvs/commit.c +++ b/usr.bin/cvs/commit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: commit.c,v 1.48 2005/12/21 20:06:25 xsa Exp $ */ +/* $OpenBSD: commit.c,v 1.49 2005/12/22 14:59:54 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -292,9 +292,7 @@ cvs_commit_local(CVSFILE *cf, void *arg) } cvs_file_getpath(cf, fpath, sizeof(fpath)); - - if (cvs_rcs_getpath(cf, rcspath, sizeof(rcspath)) == NULL) - return (CVS_EX_DATA); + cvs_rcs_getpath(cf, rcspath, sizeof(rcspath)); return (0); } |