diff options
author | 2008-02-20 17:29:28 +0000 | |
---|---|---|
committer | 2008-02-20 17:29:28 +0000 | |
commit | 0a178a7de65fde52daace5083b51a105607a2029 (patch) | |
tree | 0bd3df94cd03525280ddefcf2c57e754af69ca8b /usr.bin/cvs/commit.c | |
parent | correct boolean encoding for coredump; der Mouse via dugsong (diff) | |
download | wireguard-openbsd-0a178a7de65fde52daace5083b51a105607a2029.tar.xz wireguard-openbsd-0a178a7de65fde52daace5083b51a105607a2029.zip |
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.c | 4 |
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 { |