diff --git a/orte/dss/dss_peek.c b/orte/dss/dss_peek.c index 2f401d324a..fc5814ffe8 100644 --- a/orte/dss/dss_peek.c +++ b/orte/dss/dss_peek.c @@ -80,7 +80,6 @@ int orte_dss_peek_type(orte_buffer_t *buffer, orte_data_type_t *type) { int ret; orte_buffer_t tmp; - size_t n=1; /* check for errors */ if (buffer == NULL) { diff --git a/orte/dss/dss_release.c b/orte/dss/dss_release.c index 64840a46a9..1bce53b635 100644 --- a/orte/dss/dss_release.c +++ b/orte/dss/dss_release.c @@ -28,7 +28,6 @@ void orte_dss_release(orte_data_value_t *value) { - int rc; orte_dss_type_info_t *info; /* check for error */ @@ -45,8 +44,6 @@ void orte_dss_release(orte_data_value_t *value) } info->odti_release_fn(value); - - return; } /* diff --git a/orte/mca/gpr/null/gpr_null.c b/orte/mca/gpr/null/gpr_null.c index 9cac5f71c0..65b008d60e 100644 --- a/orte/mca/gpr/null/gpr_null.c +++ b/orte/mca/gpr/null/gpr_null.c @@ -271,7 +271,7 @@ orte_gpr_null_decrement_value(orte_gpr_value_t * value) static int orte_gpr_null_put_1(orte_gpr_addr_mode_t addr_mode, char *segment, char **tokens, - char *key, orte_data_value_t value) + char *key, orte_data_value_t* value) { return ORTE_SUCCESS; } @@ -280,7 +280,7 @@ static int orte_gpr_null_put_1(orte_gpr_addr_mode_t addr_mode, static int orte_gpr_null_put_N(orte_gpr_addr_mode_t addr_mode, char *segment, char **tokens, size_t n, char **keys, - orte_data_value_t *data_values) + orte_data_value_t **data_values) { return ORTE_SUCCESS; } diff --git a/orte/mca/rmgr/base/data_type_support/rmgr_data_type_size_fns.c b/orte/mca/rmgr/base/data_type_support/rmgr_data_type_size_fns.c index 4b6a351964..12773d3d8d 100755 --- a/orte/mca/rmgr/base/data_type_support/rmgr_data_type_size_fns.c +++ b/orte/mca/rmgr/base/data_type_support/rmgr_data_type_size_fns.c @@ -60,7 +60,7 @@ int orte_rmgr_base_size_app_context(size_t *size, orte_app_context_t *src, orte_ if (0 < count) { /* account for array of char* */ *size += count * sizeof(char*); - for (i=0; i < count; i++) { + for (i=0; i < (size_t)count; i++) { *size += strlen(src->env[i]); } } diff --git a/orte/mca/rmgr/base/data_type_support/rmgr_data_type_unpacking_fns.c b/orte/mca/rmgr/base/data_type_support/rmgr_data_type_unpacking_fns.c index c3df50405c..b09c324802 100644 --- a/orte/mca/rmgr/base/data_type_support/rmgr_data_type_unpacking_fns.c +++ b/orte/mca/rmgr/base/data_type_support/rmgr_data_type_unpacking_fns.c @@ -38,7 +38,7 @@ int orte_rmgr_base_unpack_app_context(orte_buffer_t *buffer, void *dest, { int rc, count; orte_app_context_t **app_context; - size_t i, max_n=1, temp; + size_t i, max_n=1; int8_t have_prefix; /* unpack into array of app_context objects */ diff --git a/orte/mca/soh/base/soh_base_set_proc_soh.c b/orte/mca/soh/base/soh_base_set_proc_soh.c index f984847471..760f9e6e2b 100644 --- a/orte/mca/soh/base/soh_base_set_proc_soh.c +++ b/orte/mca/soh/base/soh_base_set_proc_soh.c @@ -38,12 +38,10 @@ int orte_soh_base_set_proc_soh(orte_process_name_t *proc, int exit_status) { orte_gpr_value_t *value; - orte_data_value_t *dv; int rc; orte_jobid_t jobid; orte_vpid_t vpid; orte_exit_code_t exit_code; - size_t i; char *segment; if (ORTE_SUCCESS != (rc = orte_ns.get_jobid(&jobid, proc))) { diff --git a/orte/util/error_strings.c b/orte/util/error_strings.c index e305ef3bdb..2d9f8113e0 100644 --- a/orte/util/error_strings.c +++ b/orte/util/error_strings.c @@ -21,6 +21,7 @@ #include "orte_config.h" #include "orte/include/orte_constants.h" +#include const char * orte_err2str(int errnum)