diff --git a/src/filesrch.c b/src/filesrch.c index ae1c0e85c..a97a45444 100644 --- a/src/filesrch.c +++ b/src/filesrch.c @@ -172,6 +172,7 @@ opendir (const CHAR *szPath) /* Initialize the dirent structure. ino and reclen are invalid under * Win32, and name simply points at the appropriate part of the * findfirst_t structure. */ + nd->dd_dta = {0}; nd->dd_dir.d_ino = 0; nd->dd_dir.d_reclen = 0; nd->dd_dir.d_namlen = 0;