From af656b2b3d5f7220217fb33e3781d45569b5c96e Mon Sep 17 00:00:00 2001 From: Shiqing Fan Date: Thu, 29 May 2008 15:27:43 +0000 Subject: [PATCH] Fix some typing mistakes, make the sources compile again for Windows Visual Studio. This commit was SVN r18542. --- orte/mca/plm/ccp/plm_ccp_component.c | 4 ++-- orte/mca/ras/ccp/ras_ccp_component.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/orte/mca/plm/ccp/plm_ccp_component.c b/orte/mca/plm/ccp/plm_ccp_component.c index f099f9ff11..ca62726ad9 100644 --- a/orte/mca/plm/ccp/plm_ccp_component.c +++ b/orte/mca/plm/ccp/plm_ccp_component.c @@ -149,14 +149,14 @@ static int orte_plm_ccp_component_query(mca_base_module_t **module, int *priorit if (FAILED(hr)) { /* We are not Windows clusters, don't select us.*/ *module = NULL; - return ORTE_ERROR: + return ORTE_ERROR; } /* if we are NOT an HNP, then don't select us */ if (!orte_process_info.hnp) { pCluster->Release(); *module = NULL; - return ORTE_ERROR: + return ORTE_ERROR; } /* We are Windows clusters and this is HNP. */ diff --git a/orte/mca/ras/ccp/ras_ccp_component.c b/orte/mca/ras/ccp/ras_ccp_component.c index 638abd1e83..fd540a225c 100644 --- a/orte/mca/ras/ccp/ras_ccp_component.c +++ b/orte/mca/ras/ccp/ras_ccp_component.c @@ -89,7 +89,7 @@ static int ras_ccp_open(void) return ORTE_SUCCESS; } -static int orte_ras_ccp_component_query(mca_base_module_t **module, int *priority); +static int orte_ras_ccp_component_query(mca_base_module_t **module, int *priority) { int rc; ICluster* pCluster = NULL;