1
1

Remove some warnings about uninitialized values.

This commit was SVN r21695.
Этот коммит содержится в:
George Bosilca 2009-07-16 17:38:09 +00:00
родитель 52d013baae
Коммит ed93b967f7
2 изменённых файлов: 3 добавлений и 4 удалений

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

@ -69,7 +69,7 @@ static int orte_ras_slurm_allocate(opal_list_t *nodes)
char * tmp;
char *slurm_jobid;
slurm_jobid - getenv("SLURM_JOBID");
slurm_jobid = getenv("SLURM_JOBID");
/* don't need to check this for NULL as we wouldn't
* have been selected if it wasn't already found
*

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

@ -595,14 +595,13 @@ int orte_util_decode_nodemap(opal_byte_object_t *bo)
int orte_util_encode_pidmap(opal_byte_object_t *boptr)
{
int32_t *nodes;
orte_proc_t *proc;
int i, j, k;
opal_buffer_t buf;
orte_local_rank_t *lrank = NULL;
orte_node_rank_t *nrank = NULL;
orte_job_t *jdata = NULL;
int rc;
int32_t *nodes = NULL;
int i, j, k, rc = ORTE_SUCCESS;
/* setup the working buffer */
OBJ_CONSTRUCT(&buf, opal_buffer_t);