summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/commit.c
diff options
context:
space:
mode:
authorTobias Stoeckmann <tobias@cvs.openbsd.org>2008-02-20 17:29:29 +0000
committerTobias Stoeckmann <tobias@cvs.openbsd.org>2008-02-20 17:29:29 +0000
commitbaa19c7238a75ff88de0c1c0783599ceb3bbd14c (patch)
treeb40bb3f9a99b241eaa6934cdd70afa6d1ae35758 /usr.bin/cvs/commit.c
parent9fc63ce626699595be03a5f07011ce64ee4b0e95 (diff)
With latest buf cleanup, rcs_rev_getbuf won't return NULL anymore.
OK joris@
Diffstat (limited to 'usr.bin/cvs/commit.c')
-rw-r--r--usr.bin/cvs/commit.c4
1 files changed, 1 insertions, 3 deletions
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 <joris@openbsd.org>
* Copyright (c) 2006 Xavier Santolaria <xsa@openbsd.org>
@@ -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 {