summaryrefslogtreecommitdiff
path: root/gnu/dist/cvs/src/no_diff.c
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2005-04-20 01:41:28 +0000
committerchristos <christos@NetBSD.org>2005-04-20 01:41:28 +0000
commit7d77e6d05cb3cf361c29df4ea76e784863fddaca (patch)
tree86e96096b0c918c73348ec165e6dbe013b1829a9 /gnu/dist/cvs/src/no_diff.c
parent5eaebcb7035e8251254003fd7a3f4902750a8f91 (diff)
Import 1.11.20 from ccvs.cvshome.org
Diffstat (limited to 'gnu/dist/cvs/src/no_diff.c')
-rw-r--r--gnu/dist/cvs/src/no_diff.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/gnu/dist/cvs/src/no_diff.c b/gnu/dist/cvs/src/no_diff.c
index ebddcd39e3e..45847a1abe2 100644
--- a/gnu/dist/cvs/src/no_diff.c
+++ b/gnu/dist/cvs/src/no_diff.c
@@ -1,6 +1,11 @@
/*
- * Copyright (c) 1992, Brian Berliner and Jeff Polk
- * Copyright (c) 1989-1992, Brian Berliner
+ * Copyright (C) 1986-2005 The Free Software Foundation, Inc.
+ *
+ * Portions Copyright (C) 1998-2005 Derek Price, Ximbiot <http://ximbiot.com>,
+ * and others.
+ *
+ * Portions Copyright (C) 1992, Brian Berliner and Jeff Polk
+ * Portions Copyright (C) 1989-1992, Brian Berliner
*
* You may distribute under the terms of the GNU General Public License as
* specified in the README file that comes with the CVS source distribution.
@@ -15,6 +20,7 @@
*/
#include "cvs.h"
+#include <assert.h>
int
No_Difference (finfo, vers)
@@ -71,6 +77,7 @@ No_Difference (finfo, vers)
/* update the entdata pointer in the vers_ts structure */
p = findnode (finfo->entries, finfo->file);
+ assert (p);
vers->entdata = p->data;
ret = 0;