minor cardinality patch
This commit is contained in:
parent
7d5bfe5c81
commit
66ce941ac4
2 changed files with 7 additions and 8 deletions
|
|
@ -541,14 +541,12 @@ yang_cardinality(clicon_handle h,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (1) { /* Notyet */
|
/* 4) Recurse */
|
||||||
/* 4) Recurse */
|
i = 0;
|
||||||
i = 0;
|
while (i<yt->ys_len){ /* Note, children may be removed */
|
||||||
while (i<yt->ys_len){ /* Note, children may be removed */
|
ys = yt->ys_stmt[i++];
|
||||||
ys = yt->ys_stmt[i++];
|
if (yang_cardinality(h, ys, modname) < 0)
|
||||||
if (yang_cardinality(h, ys, modname) < 0)
|
goto done;
|
||||||
goto done;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
ok:
|
ok:
|
||||||
retval = 0;
|
retval = 0;
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@ clixon_cli=clixon_cli
|
||||||
|
|
||||||
# For memcheck / performance
|
# For memcheck / performance
|
||||||
#clixon_netconf="valgrind --tool=callgrind clixon_netconf"
|
#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="valgrind --leak-check=full --show-leak-kinds=all clixon_netconf"
|
||||||
clixon_netconf=clixon_netconf
|
clixon_netconf=clixon_netconf
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue