Minor fixes: UTF str: removed unused code, clarified loading of yang-lib load
This commit is contained in:
parent
856c9058f8
commit
f6dbb30110
5 changed files with 14 additions and 17 deletions
|
|
@ -1436,6 +1436,10 @@ yang_parse_post(clicon_handle h,
|
|||
struct yang_stmt **ylist = NULL; /* Topology sorted modules */
|
||||
int ylen = 0; /* Length of ylist */
|
||||
|
||||
if (modmin < 0){
|
||||
clicon_err(OE_YANG, EINVAL, "modmin negative");
|
||||
goto done;
|
||||
}
|
||||
/* 1: Parse from text to yang parse-tree.
|
||||
* Iterate through modules and detect module/submodules to parse
|
||||
* NOTE: the list may grow on each iteration */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue