Skip to content

Commit

Permalink
Remove invalid asserts
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Dec 2, 2012
1 parent 6873cdc commit df17787
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/main/process.c
Expand Up @@ -364,11 +364,9 @@ STATE_MACHINE_DECL(request_done)
* but ONLY if they aren't tied into anything.
*/
if (request->parent && (request->parent->coa == request)) {
rad_assert(request->child_state == REQUEST_DONE);
rad_assert(!request->in_request_hash);
rad_assert(!request->in_proxy_hash);
rad_assert(action == FR_ACTION_DONE);
rad_assert(request->packet == NULL);
rad_assert(request->ev == NULL);
} else
#endif
Expand Down Expand Up @@ -2996,7 +2994,6 @@ static void request_coa_originate(REQUEST *request)
if (vp) {
if (vp->vp_integer == 0) {
fail:
request->coa->child_state = REQUEST_DONE;
request_done(request->coa, FR_ACTION_DONE);
return;
}
Expand Down

0 comments on commit df17787

Please sign in to comment.