activa -Wextra -Wpedantic i neteja warnings
This commit is contained in:
1 parent
7bd4d4d114
commit
be1a9a1d9b
8 files changed
+44
-11
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user