From 0feb158aafb50e257efc9c19c53cb2b1409d5bf8 Mon Sep 17 00:00:00 2001 From: Rainer Keller Date: Mon, 8 Mar 2010 22:56:33 +0000 Subject: [PATCH] - Since r22727 orte_app_idx_t was introduced, being a uint32_t (was previously an orte_std_cntr_t, which is int32_t). Comparison with < 0 don't make any sense, here. This commit was SVN r22799. The following SVN revision numbers were found above: r22727 --> open-mpi/ompi@2541aa98abe61dc7fc29c412a66200b8e5f995ec --- ompi/attribute/attribute_predefined.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/ompi/attribute/attribute_predefined.c b/ompi/attribute/attribute_predefined.c index 53f3fa44b4..3af80de410 100644 --- a/ompi/attribute/attribute_predefined.c +++ b/ompi/attribute/attribute_predefined.c @@ -173,12 +173,9 @@ int ompi_attr_create_predefined(void) if (OMPI_SUCCESS != ret) { return ret; } - - /* check the app_num - if it was set, then define it - otherwise, don't */ - if (orte_process_info.app_num >= 0) { - ret = set_f(MPI_APPNUM, orte_process_info.app_num); - } - + + ret = set_f(MPI_APPNUM, orte_process_info.app_num); + return ret; }