commit | 7a7aa91dae8020d7d0e827ef0f99aefd6d6cbddf | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Mon Feb 14 09:34:54 2022 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Tue Mar 15 11:36:42 2022 +0100 |
tree | 720f1954ea88c055fc269d8a81122f160c12f569 | |
parent | 46e68ec338f82da2d4ef12715485eccf171969fe [diff] |
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;