diff --git a/source/shared_lib/sources/platform/common/platform_common.cpp b/source/shared_lib/sources/platform/common/platform_common.cpp index 20b832d5..613e2706 100644 --- a/source/shared_lib/sources/platform/common/platform_common.cpp +++ b/source/shared_lib/sources/platform/common/platform_common.cpp @@ -1326,7 +1326,7 @@ vector getFolderTreeContentsListRecursively(const string &path, const st #if defined(__APPLE__) || defined(__FreeBSD__) struct stat statStruct; // only get if dir.. - int actStat = lstat( globbuf.gl_pathv[ i], &statStruct); + lstat( globbuf.gl_pathv[ i], &statStruct); if( S_ISDIR(statStruct.st_mode) == 0) continue; #endif @@ -1465,7 +1465,7 @@ vector > getFolderTreeContentsCheckSumListRecursively(c #if defined(__APPLE__) || defined(__FreeBSD__) struct stat statStruct; // only get if dir.. - int actStat = lstat( globbuf.gl_pathv[ i], &statStruct); + lstat( globbuf.gl_pathv[ i], &statStruct); if( S_ISDIR(statStruct.st_mode) == 0) continue; #endif