mirror of
https://github.com/systemd/systemd.git
synced 2024-11-08 11:27:32 +03:00
resolved: remove runtime check for previously asserted condition
This commit is contained in:
parent
dd42560795
commit
8326c7f789
@ -186,9 +186,6 @@ void dns_transaction_complete(DnsTransaction *t, DnsTransactionState state) {
|
|||||||
assert(t);
|
assert(t);
|
||||||
assert(!IN_SET(state, DNS_TRANSACTION_NULL, DNS_TRANSACTION_PENDING));
|
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
|
/* Note that this call might invalidate the query. Callers
|
||||||
* should hence not attempt to access the query or transaction
|
* should hence not attempt to access the query or transaction
|
||||||
* after calling this function. */
|
* after calling this function. */
|
||||||
|
Loading…
Reference in New Issue
Block a user