Commit a91916ee authored by Pekka Pessi's avatar Pekka Pessi

nua_session.c, nua_stack.c: removed -DNDEBUG warnings

darcs-hash:20070207200821-65a35-78ea5b4a3d8e535c7cc0a34410f59a15eea069ce.gz
parent 2e5890bd
......@@ -1773,14 +1773,13 @@ nua_session_server_init(nua_server_request_t *sr)
int nua_invite_server_preprocess(nua_server_request_t *sr)
{
nua_handle_t *nh = sr->sr_owner;
nua_t *nua = nh->nh_nua;
nua_dialog_state_t *ds = nh->nh_ds;
nua_session_usage_t *ss;
sip_t const *request = sr->sr_request.sip;
assert(sr->sr_status == 100);
assert(nh != nua->nua_dhandle);
assert(nh != nh->nh_nua->nua_dhandle);
if (sr->sr_status > 100)
return sr->sr_status;
......
......@@ -302,7 +302,7 @@ int nua_stack_event(nua_t *nua, nua_handle_t *nh, msg_t *msg,
void *b = t_end, *end = (char *)b + xtra;
t = tl_dup(t, tags, &b); p = b;
assert(t == t_end); assert(b == end);
assert(t == t_end); assert(b == end); (void)end;
}
else
p = e + 1;
......
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