From 06c9630ebb468e12d8e04f983b3d64303bfd6917 Mon Sep 17 00:00:00 2001 From: Bigfoot71 Date: Sun, 4 May 2025 14:26:15 +0200 Subject: [PATCH] removes an unnecessary memset in `ScanDirectoryFiles` --- src/rcore.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/rcore.c b/src/rcore.c index 5b2679c95..0b937c873 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -3681,7 +3681,6 @@ void SetupFramebuffer(int width, int height) static void ScanDirectoryFiles(const char *basePath, FilePathList *files, const char *filter) { static char path[MAX_FILEPATH_LENGTH] = { 0 }; - memset(path, 0, MAX_FILEPATH_LENGTH); struct dirent *dp = NULL; DIR *dir = opendir(basePath);