From e43589ed84c89482e1825d9f1a688a24e3f021bb Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Mon, 3 Feb 2014 23:51:45 +0000 Subject: [PATCH] Fix warning - thanks to Paul Hargrove for reporting it cmr=v1.7.4:reviewer=ompi-gk1.7 This commit was SVN r30548. --- orte/mca/rmaps/base/rmaps_base_binding.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/orte/mca/rmaps/base/rmaps_base_binding.c b/orte/mca/rmaps/base/rmaps_base_binding.c index c84a0fc641..03856fc0e2 100644 --- a/orte/mca/rmaps/base/rmaps_base_binding.c +++ b/orte/mca/rmaps/base/rmaps_base_binding.c @@ -967,10 +967,9 @@ int orte_rmaps_base_compute_bindings(orte_job_t *jdata) } } return rc; - } else { - ORTE_ERROR_LOG(ORTE_ERR_NOT_SUPPORTED); - return ORTE_ERR_NOT_SUPPORTED; } - return ORTE_SUCCESS; + /* if we get here, then the binding policy isn't supported */ + ORTE_ERROR_LOG(ORTE_ERR_NOT_SUPPORTED); + return ORTE_ERR_NOT_SUPPORTED; }