Remove dead store to f and avoid use of unvalidated fd.
authorvisa <visa@openbsd.org>
Tue, 11 Jan 2022 06:35:03 +0000 (06:35 +0000)
committervisa <visa@openbsd.org>
Tue, 11 Jan 2022 06:35:03 +0000 (06:35 +0000)
commitf76f04e29973354ca294034e4ff9f820731b46e5
tree8fd1ec26ae84578941bf5fbc501bb8d9c2d6a798
parent1de6044a3958bb69879f1223caf20f260274be74
Remove dead store to f and avoid use of unvalidated fd.

Found by LLVM scan-build.

OK millert@ deraadt@
sys/lib/libsa/readdir.c