devkitPro / libfat

FAT library for GBA, DS, Gamecube & Wii
http://devkitpro.org/viewforum.php?f=24
54 stars 36 forks source link

Redundant call of _FAT_directory_getRootEntry for "/" #5

Open FrankHB opened 9 years ago

FrankHB commented 9 years ago

In function _FAT_directory_getRootEntry in "directory.c", after the first call of _FAT_directory_getRootEntry, it seems that the function can just return, rather than setting the flag found when the path is "/".