diff options
| author | Florian Weimer <fweimer@redhat.com> | 2025-05-28 09:59:24 +0200 |
|---|---|---|
| committer | Florian Weimer <fweimer@redhat.com> | 2025-05-28 09:59:24 +0200 |
| commit | fe31d246f5ecf584467904cc8a411dbe306ae8f3 (patch) | |
| tree | 3be238deb72f005bd6e8748c66a5bd717568fdab /hurd | |
| parent | 345432e47b931c3a8e1cac560e785ba0c5affbe6 (diff) | |
hurd: Avoid -Wfree-labels warning in _hurd_intr_rpc_mach_msg
This is required after commit 4f4c4fcde76aedc1f5362a51d98ebb57a28fbce9
("Turn on -Wfree-labels by default if available").
Reviewed-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'hurd')
| -rw-r--r-- | hurd/intr-msg.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/hurd/intr-msg.c b/hurd/intr-msg.c index 1c2fe3f20c..f9bf5c1c67 100644 --- a/hurd/intr-msg.c +++ b/hurd/intr-msg.c @@ -183,9 +183,12 @@ _hurd_intr_rpc_mach_msg (mach_msg_header_t *msg, switch (name) { case MACH_MSG_TYPE_MOVE_SEND: - mach_port_t *ports = (mach_port_t *) data; - for (i = 0; i < number; i++) - __mach_port_deallocate (__mach_task_self (), *ports++); + { + mach_port_t *ports = (mach_port_t *) data; + for (i = 0; i < number; i++) + __mach_port_deallocate (__mach_task_self (), + *ports++); + } if (ty->msgtl_header.msgt_longform) ty->msgtl_name = MACH_MSG_TYPE_COPY_SEND; else |
