Crashfix: Don't try to iterate through non-existing directories
parent
b983d1b18f
commit
7ea1345547
|
|
@ -81,6 +81,8 @@ LLDir::~LLDir()
|
|||
|
||||
S32 LLDir::deleteFilesInDir(const std::string &dirname, const std::string &mask)
|
||||
{
|
||||
if (!fileExists(dirname)) return 0;
|
||||
|
||||
S32 count = 0;
|
||||
std::string filename;
|
||||
std::string fullpath;
|
||||
|
|
|
|||
Loading…
Reference in New Issue