Commit ef893fff authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#9381 - Remove unused variables, fix rc usage

parent 2f0883d1
Pipeline #1217 passed with stage
in 25 minutes and 43 seconds
......@@ -102,7 +102,7 @@ rewrite_param_get(
ldap_pvt_thread_rdwr_runlock( &info->li_params_mutex );
#endif /* USE_REWRITE_LDAP_PVT_THREADS */
return REWRITE_SUCCESS;
return rc;
}
static void
......@@ -129,15 +129,13 @@ rewrite_param_destroy(
struct rewrite_info *info
)
{
int count;
assert( info != NULL );
#ifdef USE_REWRITE_LDAP_PVT_THREADS
ldap_pvt_thread_rdwr_wlock( &info->li_params_mutex );
#endif /* USE_REWRITE_LDAP_PVT_THREADS */
count = avl_free( info->li_params, rewrite_param_free );
avl_free( info->li_params, rewrite_param_free );
info->li_params = NULL;
#ifdef USE_REWRITE_LDAP_PVT_THREADS
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment