tree-wide: move variables to innermost scope
This commit is contained in:
+1
-3
@@ -203,12 +203,10 @@ void cgroup_context_remove_bpf_foreign_program(CGroupContext *c, CGroupBPFForeig
|
||||
}
|
||||
|
||||
void cgroup_context_remove_socket_bind(CGroupSocketBindItem **head) {
|
||||
CGroupSocketBindItem *h;
|
||||
|
||||
assert(head);
|
||||
|
||||
while (*head) {
|
||||
h = *head;
|
||||
CGroupSocketBindItem *h = *head;
|
||||
LIST_REMOVE(socket_bind_items, *head, h);
|
||||
free(h);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user