mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-30 01:47:56 +03:00
fix _find_config_node: null parameter is permitted
This commit is contained in:
parent
55b5ce8710
commit
9ce2c9bfc1
@ -772,7 +772,7 @@ static struct config_node *_find_config_node(const struct config_node *cn,
|
||||
const char *path)
|
||||
{
|
||||
const char *e;
|
||||
const struct config_node *cn_found;
|
||||
const struct config_node *cn_found = NULL;
|
||||
|
||||
while (cn) {
|
||||
/* trim any leading slashes */
|
||||
|
Loading…
x
Reference in New Issue
Block a user