From 070bb655a27d87b2faf795244df0e481ae6a7d5d Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 18 Mar 2003 08:53:35 +0000 Subject: [PATCH] Fix uninit. var --- rset/rstemp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rset/rstemp.c b/rset/rstemp.c index e32822b..3d88cfb 100644 --- a/rset/rstemp.c +++ b/rset/rstemp.c @@ -1,5 +1,5 @@ -/* $Id: rstemp.c,v 1.33 2002-08-02 19:26:57 adam Exp $ - Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 +/* $Id: rstemp.c,v 1.34 2003-03-18 08:53:35 adam Exp $ + Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003 Index Data Aps This file is part of the Zebra server. @@ -137,6 +137,7 @@ static RSFD r_open (RSET ct, int flag) r_rewind (rfd); rfd->countp = &ct->rset_terms[0]->count; + *rfd->countp = 0; rfd->buf = xmalloc (info->key_size); return rfd; -- 1.7.10.4