Skip to content

Conversation

@hppritcha
Copy link
Member

Clang 5.1 on my mac was a sad panda compiling a couple
of files, complaining about uninitialized stack variables.

This commit makes clang a happier panda (or at least not so sad).
@rhc54

Signed-off-by: Howard Pritchard [email protected]

opal_pmix_data_range_t range;
orte_data_req_t *req, *rqnext;
orte_jobid_t jobid;
orte_jobid_t jobid = 0;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess it must think there is some path that allows jobid to be used without having been unpacked? I can't readily see it - would be nice to know what it is and fix it.

Regardless, you'd be better off initializing it to ORTE_JOBID_INVALID as job=0 is the daemon job and a legitimate value.

Clang 5.1 on my mac was a sad panda compiling a couple
of files,  complaining about uninitialized stack variables.

This commit makes clang a happier panda (or at least not so sad).

Signed-off-by: Howard Pritchard <[email protected]>
@hppritcha hppritcha force-pushed the topic/make_clang_happy_panda branch from 800d253 to ff669e7 Compare August 5, 2016 01:35
@hppritcha
Copy link
Member Author

looks like mlnx has an HCOLL install issue.

@hppritcha hppritcha added this to the v2.0.1 milestone Aug 5, 2016
@hppritcha
Copy link
Member Author

part of this commit needs to be patched back in to v2.x so assigning 2.0.1

@hppritcha hppritcha merged commit 4517044 into open-mpi:master Aug 5, 2016
@hppritcha hppritcha deleted the topic/make_clang_happy_panda branch May 2, 2018 02:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants