Skip to content

Address warning in memory.c #2039

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 5, 2019
Merged

Address warning in memory.c #2039

merged 2 commits into from
Mar 5, 2019

Conversation

brada4
Copy link
Contributor

@brada4 brada4 commented Mar 3, 2019

Complete #1814 lock cleanup, what was missed that excess locking code actually initialized the var as a side effect.

@brada4 brada4 mentioned this pull request Mar 3, 2019
@martin-frbg
Copy link
Collaborator

Are you sure that setting this variable to zero is appropriate here - if I am not mistaken the code you removed through #1814 would have initialized it from a call to WhereAmI()

@brada4
Copy link
Contributor Author

brada4 commented Mar 4, 2019

Whereami varies array index , like n-th thread tries at n-th spot onwards.
If that used to fail then it started at zero anyway.

@martin-frbg martin-frbg merged commit d7b2c53 into OpenMathLib:develop Mar 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants