@@ -6283,7 +6283,7 @@ resolve_unres_schema_item(struct lys_module *mod, void *item, enum UNRES_ITEM ty
62836283 struct unres_schema * unres )
62846284{
62856285 /* has_str - whether the str_snode is a string in a dictionary that needs to be freed */
6286- int rc = -1 , has_str = 0 , parent_type = 0 , i , k ;
6286+ int rc = -1 , has_str = 0 , parent_type = 0 , i , k , hidden ;
62876287 unsigned int j ;
62886288 struct lys_node * root , * next , * node , * par_grp ;
62896289 const char * expr ;
@@ -6331,7 +6331,12 @@ resolve_unres_schema_item(struct lys_module *mod, void *item, enum UNRES_ITEM ty
63316331 }
63326332
63336333 if (lys_node_module (node )-> implemented ) {
6334- /* make all the modules on the path implemented */
6334+ /* make all the modules on the path implemented, print verbose messages */
6335+ hidden = ly_vlog_hidden ;
6336+ if (hidden ) {
6337+ ly_vlog_hide (0 );
6338+ }
6339+
63356340 for (next = (struct lys_node * )stype -> info .lref .target ; next ; next = lys_parent (next )) {
63366341 if (!lys_node_module (next )-> implemented ) {
63376342 if (lys_set_implemented (lys_node_module (next ))) {
@@ -6348,6 +6353,14 @@ resolve_unres_schema_item(struct lys_module *mod, void *item, enum UNRES_ITEM ty
63486353 if (lys_leaf_add_leafref_target (stype -> info .lref .target , (struct lys_node * )stype -> parent )) {
63496354 rc = -1 ;
63506355 }
6356+
6357+ if (hidden ) {
6358+ ly_vlog_hide (1 );
6359+ }
6360+
6361+ if (rc ) {
6362+ break ;
6363+ }
63516364 }
63526365 }
63536366
0 commit comments