score: Fix statement with no effect warning

No need to add an assert due to the fatal error parameter passed to
_Objects_MP_Allocate_and_open().
This commit is contained in:
Sebastian Huber
2016-03-30 08:33:41 +02:00
parent 97b7244f1e
commit 863c07479c

View File

@@ -173,7 +173,6 @@ void _RTEMS_tasks_MP_Process_packet (
{
RTEMS_tasks_MP_Packet *the_packet;
Thread_Control *the_thread;
bool ignored;
the_packet = (RTEMS_tasks_MP_Packet *) the_packet_prefix;
@@ -181,12 +180,12 @@ void _RTEMS_tasks_MP_Process_packet (
case RTEMS_TASKS_MP_ANNOUNCE_CREATE:
ignored = _Objects_MP_Allocate_and_open(
&_RTEMS_tasks_Information.Objects,
the_packet->name,
the_packet->Prefix.id,
true
);
_Objects_MP_Allocate_and_open(
&_RTEMS_tasks_Information.Objects,
the_packet->name,
the_packet->Prefix.id,
true
);
_MPCI_Return_packet( the_packet_prefix );
break;
@@ -257,8 +256,6 @@ void _RTEMS_tasks_MP_Process_packet (
_MPCI_Return_packet( the_packet_prefix );
break;
}
ignored; /* avoid set but not used warning */
}
/*