activa -Wextra -Wpedantic i neteja warnings

This commit is contained in:
2026-05-19 18:49:51 +02:00
parent 7bd4d4d114
commit be1a9a1d9b
8 changed files with 44 additions and 11 deletions
+1 -1
View File
@@ -496,7 +496,7 @@ void Director::createSystemFolder(const std::string &folder) {
// En Emscripten no necesitamos crear carpetas (MEMFS las crea automáticamente)
(void)folder;
#else
struct stat st = {.st_dev = 0};
struct stat st{};
if (stat(system_folder_.c_str(), &st) == -1) {
errno = 0;
#ifdef _WIN32