1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-05 09:14:03 +00:00

Fix possible uninitialized variable insert due to previous commit.

Pointy hat to: me and my absence of -Wall in my CFLAGS.

MFC will happen at the same time of the earlier commit.

Thanks to ru@ for spotting.

Approved by:	re (Ken Smith), grog@ (mentor)
This commit is contained in:
Edwin Groothuis 2007-09-25 21:41:22 +00:00
parent 17c53e4a28
commit e06a060ed3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=172325

View File

@ -898,7 +898,7 @@ ultimate_source (name, path)
#endif
#if HAVE_LIBZ > 0
gzgets (fp, buf, BUFSIZ);
end = gzgets (fp, buf, BUFSIZ);
gzclose(fp);
#else
end = fgets (buf, BUFSIZ, fp);