1
0
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:
Alasdair Kergon 2006-11-21 15:13:36 +00:00
parent 55b5ce8710
commit 9ce2c9bfc1

View File

@ -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 */