path-lookup: assert that LOOKUP_PATHS_{EXCLUDE,TEMPORARY}_GENERATED are not used in conjunction
This commit is contained in:
@@ -417,6 +417,7 @@ int lookup_paths_init(
|
||||
assert(lp);
|
||||
assert(scope >= 0);
|
||||
assert(scope < _RUNTIME_SCOPE_MAX);
|
||||
assert(!FLAGS_SET(flags, LOOKUP_PATHS_EXCLUDE_GENERATED|LOOKUP_PATHS_TEMPORARY_GENERATED));
|
||||
|
||||
if (!empty_or_root(root_dir)) {
|
||||
if (scope == RUNTIME_SCOPE_USER)
|
||||
|
||||
Reference in New Issue
Block a user