diff options
Diffstat (limited to 'usr.bin/cvs/annotate.c')
-rw-r--r-- | usr.bin/cvs/annotate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/annotate.c b/usr.bin/cvs/annotate.c index 2aaf612faf5..eaaa9bd45af 100644 --- a/usr.bin/cvs/annotate.c +++ b/usr.bin/cvs/annotate.c @@ -1,4 +1,4 @@ -/* $OpenBSD: annotate.c,v 1.59 2008/06/14 03:58:29 tobias Exp $ */ +/* $OpenBSD: annotate.c,v 1.60 2008/06/14 04:34:08 tobias Exp $ */ /* * Copyright (c) 2007 Tobias Stoeckmann <tobias@openbsd.org> * Copyright (c) 2006 Xavier Santolaria <xsa@openbsd.org> @@ -163,7 +163,7 @@ cvs_annotate_local(struct cvs_file *cf) cvs_file_classify(cf, cvs_directory_tag); - if (cf->file_rcs == NULL) + if (cf->file_rcs == NULL || cf->file_rcs->rf_head == NULL) return; if (cvs_specified_tag != NULL) { |