mirror of
https://github.com/glest/glest-source.git
synced 2025-08-24 17:02:49 +02:00
- more mac warnigns cleanup
This commit is contained in:
@@ -1326,7 +1326,7 @@ vector<string> getFolderTreeContentsListRecursively(const string &path, const st
|
|||||||
#if defined(__APPLE__) || defined(__FreeBSD__)
|
#if defined(__APPLE__) || defined(__FreeBSD__)
|
||||||
struct stat statStruct;
|
struct stat statStruct;
|
||||||
// only get if dir..
|
// 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)
|
if( S_ISDIR(statStruct.st_mode) == 0)
|
||||||
continue;
|
continue;
|
||||||
#endif
|
#endif
|
||||||
@@ -1465,7 +1465,7 @@ vector<std::pair<string,uint32> > getFolderTreeContentsCheckSumListRecursively(c
|
|||||||
#if defined(__APPLE__) || defined(__FreeBSD__)
|
#if defined(__APPLE__) || defined(__FreeBSD__)
|
||||||
struct stat statStruct;
|
struct stat statStruct;
|
||||||
// only get if dir..
|
// 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)
|
if( S_ISDIR(statStruct.st_mode) == 0)
|
||||||
continue;
|
continue;
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user