- more mac warnigns cleanup
This commit is contained in:
parent
0873493377
commit
48fb05b1a4
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user