From 65593cd67ed4efd23ed358f4bde5fec4960599ae Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Mon, 2 Oct 2006 13:00:32 +0000 Subject: [PATCH] Fix a few Cyrador warnings This commit was SVN r11930. --- orte/mca/pls/base/pls_base_open.c | 2 -- orte/mca/pls/slurm/pls_slurm_component.c | 2 -- orte/mca/rds/base/rds_base_close.c | 2 +- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/orte/mca/pls/base/pls_base_open.c b/orte/mca/pls/base/pls_base_open.c index 9c041cc2cc..5ecaff9455 100644 --- a/orte/mca/pls/base/pls_base_open.c +++ b/orte/mca/pls/base/pls_base_open.c @@ -53,8 +53,6 @@ orte_pls_base_module_t orte_pls; */ int orte_pls_base_open(void) { - int param, value; - /* Debugging / verbose output. Always have stream open, with verbose set by the mca open system... */ orte_pls_base.pls_output = opal_output_open(NULL); diff --git a/orte/mca/pls/slurm/pls_slurm_component.c b/orte/mca/pls/slurm/pls_slurm_component.c index 5340d99f67..8b757d8c05 100644 --- a/orte/mca/pls/slurm/pls_slurm_component.c +++ b/orte/mca/pls/slurm/pls_slurm_component.c @@ -128,8 +128,6 @@ static int pls_slurm_open(void) static orte_pls_base_module_t *pls_slurm_init(int *priority) { - int rc; - /* if we are NOT an HNP, then don't select us */ if (!orte_process_info.seed) { return NULL; diff --git a/orte/mca/rds/base/rds_base_close.c b/orte/mca/rds/base/rds_base_close.c index 30bb31909c..0ca0b46677 100644 --- a/orte/mca/rds/base/rds_base_close.c +++ b/orte/mca/rds/base/rds_base_close.c @@ -53,7 +53,7 @@ int orte_rds_base_finalize(void) if (orte_process_info.seed) { if (ORTE_SUCCESS != (rc = orte_rds_base_comm_stop())) { ORTE_ERROR_LOG(rc); - return NULL; + return rc; } }