Skip to content

Commit 9167ef7

Browse files
committed
printer context BUGFIX return on error
1 parent 898977f commit 9167ef7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/printer_context.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1227,7 +1227,7 @@ ctxp_type(const struct lysc_type *orig_type, struct lysc_type **type, struct ly_
12271227
break;
12281228
case LY_TYPE_UNKNOWN:
12291229
LOGINT(NULL);
1230-
break;
1230+
return;
12311231
}
12321232

12331233
/* common members */

0 commit comments

Comments
 (0)