Silence bogus warning when compiling with gcc46:

error: 'pos' may be used uninitialized in this function

Reviewed by:	cperciva
Approved by:	dim
MFC after:      3 days
This commit is contained in:
Eitan Adler 2012-01-10 02:58:44 +00:00
parent b4f7ea1936
commit c951556035
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=229910

View file

@ -272,7 +272,7 @@ int main(int argc,char *argv[])
/* Compute the differences, writing ctrl as we go */
if ((pfbz2 = BZ2_bzWriteOpen(&bz2err, pf, 9, 0, 0)) == NULL)
errx(1, "BZ2_bzWriteOpen, bz2err = %d", bz2err);
scan=0;len=0;
scan=0;len=0;pos=0;
lastscan=0;lastpos=0;lastoffset=0;
while(scan<newsize) {
oldscore=0;