From 86516588162bc698ef156e01db8c50be85043ef4 Mon Sep 17 00:00:00 2001 From: Graham Fagg Date: Wed, 14 Dec 2005 19:09:46 +0000 Subject: [PATCH] minor compile warnings fix This commit was SVN r8497. --- ompi/mca/coll/tuned/coll_tuned.h | 2 ++ ompi/mca/coll/tuned/coll_tuned_dynamic_rules.c | 2 +- ompi/mca/coll/tuned/coll_tuned_reduce.c | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ompi/mca/coll/tuned/coll_tuned.h b/ompi/mca/coll/tuned/coll_tuned.h index 599cda0f80..034bce9af3 100644 --- a/ompi/mca/coll/tuned/coll_tuned.h +++ b/ompi/mca/coll/tuned/coll_tuned.h @@ -121,12 +121,14 @@ OMPI_COMP_EXPORT extern int mca_coll_tuned_reduce_forced_chain_fanout; int mca_coll_tuned_init_query(bool enable_progress_threads, bool enable_mpi_threads); + const struct mca_coll_base_module_1_0_0_t * mca_coll_tuned_comm_query(struct ompi_communicator_t *comm, int *priority, struct mca_coll_base_comm_t **data); const struct mca_coll_base_module_1_0_0_t * mca_coll_tuned_module_init(struct ompi_communicator_t *comm); + int mca_coll_tuned_module_finalize(struct ompi_communicator_t *comm); /* API functions of decision functions and any implementations */ diff --git a/ompi/mca/coll/tuned/coll_tuned_dynamic_rules.c b/ompi/mca/coll/tuned/coll_tuned_dynamic_rules.c index 6889d9826d..c634ab75ee 100644 --- a/ompi/mca/coll/tuned/coll_tuned_dynamic_rules.c +++ b/ompi/mca/coll/tuned/coll_tuned_dynamic_rules.c @@ -270,7 +270,7 @@ int coll_tuned_free_coms_in_alg_rule (ompi_coll_alg_rule_t* alg_p) int coll_tuned_free_all_rules (ompi_coll_alg_rule_t* alg_p, int n_algs) { int i; - int rc; + int rc = 0; for(i=0;i