vfs: fixed an apparently untested "quick change" to an assert that was triggering. boo!
This was SVN commit r1704.
This commit is contained in:
parent
963c56e796
commit
629e5999e0
@ -597,7 +597,7 @@ enum TreeLookupFlags
|
||||
static int tree_lookup_dir(const char* path, TDir** pdir, uint flags = 0, char* exact_path = 0)
|
||||
{
|
||||
CHECK_PATH(path);
|
||||
assert(!(flags & ~LF_CREATE_MISSING|LF_START_DIR));
|
||||
assert(flags & ~(LF_CREATE_MISSING|LF_START_DIR) == 0);
|
||||
// no undefined bits set
|
||||
// can't check if path ends in '/' here - we're called via tree_lookup.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user