forked from Imagelibrary/rtems
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:
@@ -159,7 +159,6 @@ void _Semaphore_MP_Process_packet (
|
||||
{
|
||||
Semaphore_MP_Packet *the_packet;
|
||||
Thread_Control *the_thread;
|
||||
bool ignored;
|
||||
|
||||
the_packet = (Semaphore_MP_Packet *) the_packet_prefix;
|
||||
|
||||
@@ -167,7 +166,7 @@ void _Semaphore_MP_Process_packet (
|
||||
|
||||
case SEMAPHORE_MP_ANNOUNCE_CREATE:
|
||||
|
||||
ignored = _Objects_MP_Allocate_and_open(
|
||||
_Objects_MP_Allocate_and_open(
|
||||
&_Semaphore_Information,
|
||||
the_packet->name,
|
||||
the_packet->Prefix.id,
|
||||
@@ -231,8 +230,6 @@ void _Semaphore_MP_Process_packet (
|
||||
);
|
||||
break;
|
||||
}
|
||||
|
||||
ignored; /* avoid set but not used warning */
|
||||
}
|
||||
|
||||
void _Semaphore_MP_Send_object_was_deleted (
|
||||
|
||||
Reference in New Issue
Block a user