removes an unnecessary memset in ScanDirectoryFilesRecursively
This commit is contained in:
parent
06c9630ebb
commit
9485d76fc7
|
|
@ -3738,7 +3738,6 @@ static void ScanDirectoryFiles(const char *basePath, FilePathList *files, const
|
||||||
static void ScanDirectoryFilesRecursively(const char *basePath, FilePathList *files, const char *filter)
|
static void ScanDirectoryFilesRecursively(const char *basePath, FilePathList *files, const char *filter)
|
||||||
{
|
{
|
||||||
char path[MAX_FILEPATH_LENGTH] = { 0 };
|
char path[MAX_FILEPATH_LENGTH] = { 0 };
|
||||||
memset(path, 0, MAX_FILEPATH_LENGTH);
|
|
||||||
|
|
||||||
struct dirent *dp = NULL;
|
struct dirent *dp = NULL;
|
||||||
DIR *dir = opendir(basePath);
|
DIR *dir = opendir(basePath);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user