removes an unnecessary memset in ScanDirectoryFiles

This commit is contained in:
Bigfoot71 2025-05-04 14:26:15 +02:00
parent 82c87d1f69
commit 06c9630ebb

View File

@ -3681,7 +3681,6 @@ void SetupFramebuffer(int width, int height)
static void ScanDirectoryFiles(const char *basePath, FilePathList *files, const char *filter) static void ScanDirectoryFiles(const char *basePath, FilePathList *files, const char *filter)
{ {
static char path[MAX_FILEPATH_LENGTH] = { 0 }; static 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);