Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

removed redundant if condition #1270

Merged
merged 1 commit into from
Jun 14, 2016
Merged

removed redundant if condition #1270

merged 1 commit into from
Jun 14, 2016

Conversation

debris
Copy link
Collaborator

@debris debris commented Jun 14, 2016

duplicated condition (previous one is on line 482)

@debris debris added the A0-pleasereview 🤓 Pull request needs code review. label Jun 14, 2016
@rphmeier
Copy link
Contributor

since this uses atomics (relaxed at that), it is possible that the two reads will see different values and that the check may not be redundant per se.

@gavofyork
Copy link
Contributor

looks fine to me, even still.

@gavofyork gavofyork added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Jun 14, 2016
@debris debris merged commit 9940432 into master Jun 14, 2016
@debris debris deleted the redundant_if_condition branch June 14, 2016 11:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants