mirror of
https://github.com/glest/glest-source.git
synced 2025-08-14 04:13:58 +02:00
- cleanup warnings on mac
This commit is contained in:
@@ -1145,7 +1145,7 @@ uint32 getFolderTreeContentsCheckSumRecursively(const string &path, const string
|
|||||||
#if defined(__APPLE__) || defined(__FreeBSD__)
|
#if defined(__APPLE__) || defined(__FreeBSD__)
|
||||||
struct stat statStruct;
|
struct stat statStruct;
|
||||||
// only process if dir..
|
// only process 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