summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2008-03-13 17:01:26 +0000
committerJoris Vink <joris@cvs.openbsd.org>2008-03-13 17:01:26 +0000
commit2445fd119828a125b2b6b5f732fcc7787f453a09 (patch)
tree7b2fbc649e6e2ad59c139015f21fad6cddd81ea9 /usr.bin/cvs
parent0b6dc0494efbf5769608b3a15718e115fb89d4e4 (diff)
properly initialize variables
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r--usr.bin/cvs/rcs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/cvs/rcs.c b/usr.bin/cvs/rcs.c
index 1dbe233a76a..c441dd964b0 100644
--- a/usr.bin/cvs/rcs.c
+++ b/usr.bin/cvs/rcs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcs.c,v 1.261 2008/03/09 19:41:13 tobias Exp $ */
+/* $OpenBSD: rcs.c,v 1.262 2008/03/13 17:01:25 joris Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -1276,6 +1276,7 @@ rcs_rev_remove(RCSFILE *rf, RCSNUM *rev)
newdeltatext = NULL;
prevbuf = NULL;
+ path_tmp1 = path_tmp2 = NULL;
if (prevrdp != NULL && nextrdp != NULL) {
newdiff = cvs_buf_alloc(64);