minor cardinality patch

This commit is contained in:
Olof hagsand 2018-12-06 10:06:13 +01:00
parent 7d5bfe5c81
commit 66ce941ac4
2 changed files with 7 additions and 8 deletions

View file

@ -541,7 +541,6 @@ yang_cardinality(clicon_handle h,
}
}
if (1) { /* Notyet */
/* 4) Recurse */
i = 0;
while (i<yt->ys_len){ /* Note, children may be removed */
@ -549,7 +548,6 @@ yang_cardinality(clicon_handle h,
if (yang_cardinality(h, ys, modname) < 0)
goto done;
}
}
ok:
retval = 0;
done:

View file

@ -13,6 +13,7 @@ clixon_cli=clixon_cli
# For memcheck / performance
#clixon_netconf="valgrind --tool=callgrind clixon_netconf"
# use kcachegrind to view
#clixon_netconf="valgrind --leak-check=full --show-leak-kinds=all clixon_netconf"
clixon_netconf=clixon_netconf