From 0a178a7de65fde52daace5083b51a105607a2029 Mon Sep 17 00:00:00 2001 From: tobias Date: Wed, 20 Feb 2008 17:29:28 +0000 Subject: With latest buf cleanup, rcs_rev_getbuf won't return NULL anymore. OK joris@ --- usr.bin/cvs/commit.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'usr.bin/cvs/commit.c') diff --git a/usr.bin/cvs/commit.c b/usr.bin/cvs/commit.c index b3e84f1306b..9de98313e80 100644 --- a/usr.bin/cvs/commit.c +++ b/usr.bin/cvs/commit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: commit.c,v 1.129 2008/02/11 20:33:11 tobias Exp $ */ +/* $OpenBSD: commit.c,v 1.130 2008/02/20 17:29:28 tobias Exp $ */ /* * Copyright (c) 2006 Joris Vink * Copyright (c) 2006 Xavier Santolaria @@ -441,8 +441,6 @@ cvs_commit_local(struct cvs_file *cf) if (cf->file_status == FILE_REMOVED) { b = rcs_rev_getbuf(cf->file_rcs, crev, 0); - if (b == NULL) - fatal("cvs_commit_local: failed to get crev"); } else if (onbranch == 1) { b = commit_diff(cf, crev, 1); } else { -- cgit v1.2.3-59-g8ed1b