Give a default value if the compiler report uninitialized usage.
This commit was SVN r5079.
Этот коммит содержится в:
родитель
5d41ece75e
Коммит
28c01fd07e
@ -47,7 +47,7 @@ orte_gpr_proxy_subscribe(orte_gpr_notify_action_t action,
|
||||
{
|
||||
orte_buffer_t *cmd;
|
||||
orte_buffer_t *answer;
|
||||
int rc, ret;
|
||||
int rc = ORTE_SUCCESS, ret;
|
||||
orte_gpr_notify_id_t idtag, remote_idtag;
|
||||
|
||||
*sub_number = ORTE_GPR_NOTIFY_ID_MAX;
|
||||
|
@ -34,7 +34,7 @@
|
||||
|
||||
int orte_gpr_replica_put(int cnt, orte_gpr_value_t **values)
|
||||
{
|
||||
int rc, i, j;
|
||||
int rc = ORTE_SUCCESS, i, j;
|
||||
int8_t action_taken;
|
||||
orte_gpr_value_t *val;
|
||||
orte_gpr_replica_segment_t *seg=NULL;
|
||||
|
@ -150,8 +150,7 @@ int orte_gpr_replica_check_subscriptions(orte_gpr_replica_segment_t *seg,
|
||||
orte_gpr_replica_action_t action_taken)
|
||||
{
|
||||
orte_gpr_replica_triggers_t **trig;
|
||||
orte_gpr_replica_subscribed_data_t **sptr;
|
||||
int i, j, n, rc;
|
||||
int i, rc;
|
||||
|
||||
trig = (orte_gpr_replica_triggers_t**)((orte_gpr_replica.triggers)->addr);
|
||||
for (i=0; i < (orte_gpr_replica.triggers)->size; i++) {
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user