commit | 2a12cd92553370840b7141f56118de6a943f9308 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Mon Feb 14 09:34:54 2022 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Mon Feb 14 09:34:54 2022 +0100 |
tree | 720f1954ea88c055fc269d8a81122f160c12f569 | |
parent | 5f842299d48647d278ffc6accc6c5d989ca7a9f4 [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;