From 31f670fb0d7a84240bbe365cb0f25fe14b2d2897 Mon Sep 17 00:00:00 2001 From: xsa Date: Thu, 22 Dec 2005 14:59:54 +0000 Subject: cvs_rcs_getpath() cannot fail anymore; --- usr.bin/cvs/commit.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'usr.bin/cvs/commit.c') 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 * 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); } -- cgit v1.2.3-59-g8ed1b