schema tree REFACTOR lysp_load_module function cleanup
diff --git a/src/tree_schema.c b/src/tree_schema.c
index aa2f396..398e3a1 100644
--- a/src/tree_schema.c
+++ b/src/tree_schema.c
@@ -739,7 +739,7 @@
     LY_ARRAY_FOR(pmod->imports, u) {
         imp = &pmod->imports[u];
         if (!imp->module) {
-            LY_CHECK_RET(lysp_load_module(PARSER_CTX(pctx), imp->name, imp->rev[0] ? imp->rev : NULL, 0, 0, NULL, &imp->module));
+            LY_CHECK_RET(lysp_load_module(PARSER_CTX(pctx), imp->name, imp->rev[0] ? imp->rev : NULL, 0, NULL, &imp->module));
         }
         /* check for importing the same module twice */
         for (v = 0; v < u; ++v) {