From: Adam Dickmeiss Date: Tue, 18 Mar 2003 08:53:35 +0000 (+0000) Subject: Fix uninit. var X-Git-Tag: ZEBRA.1.3.8~14 X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=commitdiff_plain;h=070bb655a27d87b2faf795244df0e481ae6a7d5d Fix uninit. var --- 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;