settings: Make loading a NULL or empty pattern a (nop-)success
This commit is contained in:
parent
68da3bad57
commit
d8ad0fc351
|
@ -856,7 +856,7 @@ static bool load_files_internal(private_settings_t *this, section_t *parent,
|
|||
|
||||
if (pattern == NULL || !pattern[0])
|
||||
{ /* TODO: Clear parent if merge is FALSE? */
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
section = settings_section_create(NULL);
|
||||
|
|
Loading…
Reference in New Issue