mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +00:00
opendir: initialise dd_dta struct
This commit is contained in:
parent
99808d7a4c
commit
89b77b6569
1 changed files with 1 additions and 0 deletions
|
|
@ -172,6 +172,7 @@ opendir (const CHAR *szPath)
|
||||||
/* Initialize the dirent structure. ino and reclen are invalid under
|
/* Initialize the dirent structure. ino and reclen are invalid under
|
||||||
* Win32, and name simply points at the appropriate part of the
|
* Win32, and name simply points at the appropriate part of the
|
||||||
* findfirst_t structure. */
|
* findfirst_t structure. */
|
||||||
|
nd->dd_dta = {0};
|
||||||
nd->dd_dir.d_ino = 0;
|
nd->dd_dir.d_ino = 0;
|
||||||
nd->dd_dir.d_reclen = 0;
|
nd->dd_dir.d_reclen = 0;
|
||||||
nd->dd_dir.d_namlen = 0;
|
nd->dd_dir.d_namlen = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue