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:45:57 +02:00
parent 9f714333ce
commit 97b7244f1e
+6 -9
View File
@@ -180,7 +180,6 @@ void _Partition_MP_Process_packet (
{
Partition_MP_Packet *the_packet;
Thread_Control *the_thread;
bool ignored;
the_packet = (Partition_MP_Packet *) the_packet_prefix;
@@ -188,12 +187,12 @@ void _Partition_MP_Process_packet (
case PARTITION_MP_ANNOUNCE_CREATE:
ignored = _Objects_MP_Allocate_and_open(
&_Partition_Information,
the_packet->name,
the_packet->Prefix.id,
true
);
_Objects_MP_Allocate_and_open(
&_Partition_Information,
the_packet->name,
the_packet->Prefix.id,
true
);
_MPCI_Return_packet( the_packet_prefix );
break;
@@ -260,8 +259,6 @@ void _Partition_MP_Process_packet (
break;
}
ignored; /* avoid set but not used warning */
}
/*