hurd: Avoid -Wfree-labels warning in _hurd_intr_rpc_mach_msg

This is required after commit 4f4c4fcde7
("Turn on -Wfree-labels by default if available").

Reviewed-by: Sam James <sam@gentoo.org>
This commit is contained in:
Florian Weimer 2025-05-28 09:59:24 +02:00
parent 345432e47b
commit fe31d246f5
1 changed files with 6 additions and 3 deletions

View File

@ -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