Skip to content

Commit af9dfe5

Browse files
committed
schema BUGFIX remove statement with no effect
invalid use of LOGMEM macro
1 parent 388dd32 commit af9dfe5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tree_schema.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4192,7 +4192,7 @@ lys_disable_deviations(struct lys_module *module)
41924192

41934193
if (module->deviated) {
41944194
unres = calloc(1, sizeof *unres);
4195-
LY_CHECK_ERR_RETURN(!unres, LOGMEM(module->ctx), );
4195+
LY_CHECK_ERR_RETURN(!unres, LOGMEM, );
41964196

41974197
i = module->ctx->models.used;
41984198
while (i--) {

0 commit comments

Comments
 (0)