tree-wide: use nested ASSERT_PTR
This commit is contained in:
@@ -95,13 +95,9 @@ static int idle_time_cb(sd_event_source *s, uint64_t usec, void *userdata) {
|
||||
}
|
||||
|
||||
static int connection_release(Connection *c) {
|
||||
Context *context;
|
||||
Context *context = ASSERT_PTR(ASSERT_PTR(c)->context);
|
||||
int r;
|
||||
|
||||
assert(c);
|
||||
|
||||
context = ASSERT_PTR(c->context);
|
||||
|
||||
connection_free(c);
|
||||
|
||||
if (arg_exit_idle_time < USEC_INFINITY && set_isempty(context->connections)) {
|
||||
|
||||
Reference in New Issue
Block a user