schema mount UPDATE unused variable in release build
diff --git a/src/plugins_exts/schema_mount.c b/src/plugins_exts/schema_mount.c
index d367fe7..5ba5f2b 100644
--- a/src/plugins_exts/schema_mount.c
+++ b/src/plugins_exts/schema_mount.c
@@ -148,6 +148,7 @@
 
     /* try to find the same mount point */
     r = lysc_module_dfs_full(mod, schema_mount_compile_mod_dfs_cb, &cb_data);
+    (void)r;
     assert((!r && !cb_data.sm_shared) || ((r == LY_EEXIST) && cb_data.sm_shared));
 
     return cb_data.sm_shared;