removes an unnecessary memset in ScanDirectoryFiles
This commit is contained in:
parent
82c87d1f69
commit
06c9630ebb
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user