1
0
forked from 0ad/0ad

slight simplification seen while debugging

This was SVN commit r835.
This commit is contained in:
janwas 2004-07-28 17:53:45 +00:00
parent 00420a8815
commit 79eaacfba1

View File

@ -322,10 +322,9 @@ int file_enum(const char* const dir, const FileCB cb, const uintptr_t user)
if(ret < 0)
if(cb_err == 0)
cb_err = ret;
}
for(it = dirents.begin(); it != dirents.end(); ++it)
delete *it;
delete ent;
}
if(cb_err < 0)
return cb_err;