1
1

Cleanup some warning messages in the nightly build per Jeff

This commit was SVN r5590.
Этот коммит содержится в:
Ralph Castain 2005-05-04 14:01:25 +00:00
родитель 99389ee9f2
Коммит 069f648c93
6 изменённых файлов: 11 добавлений и 11 удалений

Просмотреть файл

@ -42,8 +42,8 @@ int orte_gpr_replica_recv_subscribe_cmd(orte_process_name_t* sender,
int rc, ret;
size_t n, num_subs, num_trigs;
orte_gpr_notify_action_t action;
orte_gpr_value_t **trigs;
orte_gpr_subscription_t **subscriptions;
orte_gpr_value_t **trigs=NULL;
orte_gpr_subscription_t **subscriptions=NULL;
if (ORTE_SUCCESS != (rc = orte_dps.pack(output_buffer, &command, 1, ORTE_GPR_CMD))) {
ORTE_ERROR_LOG(rc);
@ -75,7 +75,7 @@ int orte_gpr_replica_recv_subscribe_cmd(orte_process_name_t* sender,
goto RETURN_ERROR;
}
}
num_subs = (int)n;
num_subs = n;
if (ORTE_SUCCESS != (rc = orte_dps.peek(input_buffer, &type, &n))) {
ORTE_ERROR_LOG(rc);
@ -96,7 +96,7 @@ int orte_gpr_replica_recv_subscribe_cmd(orte_process_name_t* sender,
goto RETURN_ERROR;
}
}
num_trigs = (int)n;
num_trigs = n;
n = 1;
if (ORTE_SUCCESS != orte_dps.unpack(input_buffer, &idtag, &n, ORTE_GPR_NOTIFY_ID)) {

Просмотреть файл

@ -133,7 +133,7 @@ int orte_gpr_replica_put_fn(orte_gpr_addr_mode_t addr_mode,
orte_gpr_keyval_t **kptr;
orte_gpr_replica_itagval_t *iptr;
bool overwrite;
char **tmp;
char *tmp=NULL;
int rc;
size_t i, j, num_found;
@ -145,8 +145,8 @@ int orte_gpr_replica_put_fn(orte_gpr_addr_mode_t addr_mode,
}
ompi_output(0, "Tokens:");
for (i=0; i < num_tokens; i++) {
orte_gpr_replica_dict_reverse_lookup(tmp, seg, token_itags[i]);
ompi_output(0, "\t%s", *tmp);
orte_gpr_replica_dict_reverse_lookup(&tmp, seg, token_itags[i]);
ompi_output(0, "\t%s", tmp);
}
}

Просмотреть файл

@ -48,7 +48,7 @@ int orte_gpr_replica_subscribe_fn(orte_gpr_notify_action_t action, size_t num_su
orte_gpr_replica_itagval_t *iptr=NULL;
orte_gpr_replica_addr_mode_t tok_mode, key_mode;
size_t i, j, k, index, num_tokens, num_keys, num_found;
int rc;
int rc=ORTE_SUCCESS;
bool found;
if (orte_gpr_replica_globals.debug) {

Просмотреть файл

@ -173,7 +173,7 @@ int orte_gpr_replica_check_subscriptions(orte_gpr_replica_segment_t *seg,
int orte_gpr_replica_check_trig(orte_gpr_replica_triggers_t *trig)
{
orte_gpr_replica_counter_t **cntr;
orte_gpr_replica_itagval_t *base_value;
orte_gpr_replica_itagval_t *base_value=NULL;
bool first, fire;
size_t i;
int cmp;

Просмотреть файл

@ -31,7 +31,7 @@ int orte_gpr_replica_find_seg(orte_gpr_replica_segment_t **seg,
bool create, char *segment)
{
size_t len;
int rc;
int rc=ORTE_SUCCESS;
size_t i;
orte_gpr_replica_segment_t **ptr;

Просмотреть файл

@ -376,7 +376,7 @@ int orte_ns_proxy_define_data_type(const char *name,
orte_ns_cmd_flag_t command;
orte_ns_proxy_dti_t *dti;
size_t count;
int rc;
int rc=ORTE_SUCCESS;
if (NULL == name || 0 < *type) {
ORTE_ERROR_LOG(ORTE_ERR_BAD_PARAM);