From 80eac939036e614a3c09c84b85569b9318da5288 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 1 Jul 1997 13:00:42 +0000 Subject: [PATCH] Bug fix in routine searchRecordKey: uninitialized variables. --- index/extract.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/index/extract.c b/index/extract.c index 7af7190..df17b2d 100644 --- a/index/extract.c +++ b/index/extract.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: extract.c,v $ - * Revision 1.69 1997-04-29 09:26:03 adam + * Revision 1.70 1997-07-01 13:00:42 adam + * Bug fix in routine searchRecordKey: uninitialized variables. + * + * Revision 1.69 1997/04/29 09:26:03 adam * Bug fix: generic recordId handling didn't work for compressed internal * keys. * @@ -656,6 +659,9 @@ static const char **searchRecordKey (struct recKeys *reckeys, int off = 0; int startSeq = -1; int i; + short attrUse; + char attrSet; + int seqno = 0; for (i = 0; i<32; i++) ws[i] = NULL; @@ -666,9 +672,6 @@ static const char **searchRecordKey (struct recKeys *reckeys, const char *src = reckeys->buf + off; const char *wstart; int lead; - short attrUse; - char attrSet; - int seqno; lead = *src++; -- 1.7.10.4