diff options
author | Tobias Stoeckmann <tobias@cvs.openbsd.org> | 2008-02-20 17:29:29 +0000 |
---|---|---|
committer | Tobias Stoeckmann <tobias@cvs.openbsd.org> | 2008-02-20 17:29:29 +0000 |
commit | baa19c7238a75ff88de0c1c0783599ceb3bbd14c (patch) | |
tree | b40bb3f9a99b241eaa6934cdd70afa6d1ae35758 /usr.bin/cvs/file.c | |
parent | 9fc63ce626699595be03a5f07011ce64ee4b0e95 (diff) |
With latest buf cleanup, rcs_rev_getbuf won't return NULL anymore.
OK joris@
Diffstat (limited to 'usr.bin/cvs/file.c')
-rw-r--r-- | usr.bin/cvs/file.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/cvs/file.c b/usr.bin/cvs/file.c index f33d4d5ec49..5e9f7cba0f2 100644 --- a/usr.bin/cvs/file.c +++ b/usr.bin/cvs/file.c @@ -1,4 +1,4 @@ -/* $OpenBSD: file.c,v 1.223 2008/02/20 09:16:32 joris Exp $ */ +/* $OpenBSD: file.c,v 1.224 2008/02/20 17:29:28 tobias Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> @@ -750,9 +750,6 @@ cvs_file_classify(struct cvs_file *cf, const char *tag) if (ismodified == 1 && cf->fd != -1 && cf->file_rcs != NULL && cf->file_rcsrev != NULL && !RCSNUM_ISBRANCH(cf->file_rcsrev)) { b1 = rcs_rev_getbuf(cf->file_rcs, cf->file_rcsrev, 0); - if (b1 == NULL) - fatal("failed to get HEAD revision for comparison"); - b2 = cvs_buf_load_fd(cf->fd); if (cvs_buf_differ(b1, b2)) |