mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +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:
parent
17c53e4a28
commit
e06a060ed3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=172325
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue