Skip to content
Snippets Groups Projects
Commit a1ce1cb6 authored by Ali Omar Abdelazim Mohammed's avatar Ali Omar Abdelazim Mohammed
Browse files

a couple of asserts to silience unsued parameters

parent f67afdb3
No related branches found
No related tags found
1 merge request!27Resolve "memory leak in async code"
......@@ -1272,6 +1272,7 @@ mstro_status
mstro_pool__demand_async_no_pm(mstro_cdo cdo, mstro_cdo_state new_state)
{
assert(MSTRO_CDO_STATE_DEMANDED == new_state);
// increase waiters by one
return mstro_pool_cdo_waiters(cdo, 1);
}
......@@ -1706,6 +1707,8 @@ mstro_pool__demand_async_with_pm(mstro_cdo cdo, mstro_cdo_state new_state)
{
mstro_status status = MSTRO_UNIMPL;
assert(MSTRO_CDO_STATE_DEMANDED == new_state);
/* tell pool manager it's urgent now */
/* that will eventually kick off a transport occuring and filling in
* a CDO OFFER that can be used to satisfy this demand. We'll be
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment