forked from organicmaps/organicmaps
Less nesting
This commit is contained in:
parent
47c98e4a56
commit
39ab11f88b
1 changed files with 2 additions and 5 deletions
|
@ -62,11 +62,8 @@ bool Platform::RmDirRecursively(string const & dirName)
|
|||
|
||||
if (type == FILE_TYPE_DIRECTORY)
|
||||
{
|
||||
if (!IsSpecialDirName(file))
|
||||
{
|
||||
if (!RmDirRecursively(path))
|
||||
res = false;
|
||||
}
|
||||
if (!IsSpecialDirName(file) && !RmDirRecursively(path))
|
||||
res = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue