diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2006-01-06 16:34:48 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2006-01-06 16:34:48 +0000 |
commit | 176ee3476ab30441834445d8c2b5b79db3b2dd0c (patch) | |
tree | 78cdd3d6ecb17d9284d02480e3da282bd65ccf56 /usr.bin/cvs | |
parent | 4ad969a6fa9e7f08bae4f612a5ecac37859e9e4c (diff) |
uninitialized pointer could confuse the cleanup check
ok joris@
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r-- | usr.bin/cvs/update.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/cvs/update.c b/usr.bin/cvs/update.c index 21a29997d83..601aede823d 100644 --- a/usr.bin/cvs/update.c +++ b/usr.bin/cvs/update.c @@ -1,4 +1,4 @@ -/* $OpenBSD: update.c,v 1.51 2006/01/02 08:11:56 xsa Exp $ */ +/* $OpenBSD: update.c,v 1.52 2006/01/06 16:34:47 reyk Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -213,6 +213,7 @@ cvs_update_local(CVSFILE *cf, void *arg) revdiff = ret = 0; rf = NULL; + frev = NULL; islocal = (cvs_cmdop != CVS_OP_SERVER); root = CVS_DIR_ROOT(cf); |