fixes for compilation
This commit is contained in:
parent
ba835346a5
commit
2485bec483
7 changed files with 17 additions and 237 deletions
|
|
@ -1838,9 +1838,11 @@ ys_populate_leaf(clicon_handle h,
|
|||
{
|
||||
int retval = -1;
|
||||
cg_var *cv = NULL;
|
||||
yang_stmt *yparent;
|
||||
yang_stmt *ydef;
|
||||
enum cv_type cvtype = CGV_ERR;
|
||||
int cvret;
|
||||
int ret;
|
||||
char *reason = NULL;
|
||||
yang_stmt *yrestype; /* resolved type */
|
||||
char *restype; /* resolved type */
|
||||
|
|
@ -1849,6 +1851,7 @@ ys_populate_leaf(clicon_handle h,
|
|||
int options = 0x0;
|
||||
yang_stmt *ytypedef; /* where type is define */
|
||||
|
||||
yparent = ys->ys_parent; /* Find parent: list/container */
|
||||
/* 1. Find type specification and set cv type accordingly */
|
||||
if (yang_type_get(ys, &origtype, &yrestype, &options, NULL, NULL, NULL, &fraction_digits) < 0)
|
||||
goto done;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue