1
1

Fix CID 1135: the assignment to item was never used (it was

overwritten in the next loop iteration "item = next_item").

This commit was SVN r20189.
Этот коммит содержится в:
Jeff Squyres 2009-01-03 15:15:42 +00:00
родитель ae7dfdd0e0
Коммит 679e2855b7

Просмотреть файл

@ -201,11 +201,11 @@ int mca_pml_ob1_add_comm(ompi_communicator_t* comm)
if( frag->hdr.hdr_match.hdr_ctx != comm->c_contextid )
continue;
/* As we now know we work on a fragment for this communicator we should
* remove it from the non_existing_communicator_pending list. As a result
* after the call item will contain the previous item so the loop will
* continue to work as expected. */
item = opal_list_remove_item( &mca_pml_ob1.non_existing_communicator_pending, item );
/* As we now know we work on a fragment for this communicator
* we should remove it from the
* non_existing_communicator_pending list. */
opal_list_remove_item( &mca_pml_ob1.non_existing_communicator_pending,
item );
add_fragment_to_unexpected: