resolved: remove runtime check for previously asserted condition

This commit is contained in:
Daniel Mack 2015-07-28 18:09:08 +02:00
parent dd42560795
commit 8326c7f789
1 changed files with 0 additions and 3 deletions

View File

@ -186,9 +186,6 @@ void dns_transaction_complete(DnsTransaction *t, DnsTransactionState state) {
assert(t);
assert(!IN_SET(state, DNS_TRANSACTION_NULL, DNS_TRANSACTION_PENDING));
if (!IN_SET(t->state, DNS_TRANSACTION_NULL, DNS_TRANSACTION_PENDING))
return;
/* Note that this call might invalidate the query. Callers
* should hence not attempt to access the query or transaction
* after calling this function. */