Skip to content

Removing unused refcount variable #563

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 1 commit into from
Aug 20, 2021

Conversation

etcwilde
Copy link
Contributor

The rebranch branch is failing to build due to an unused refcount
variable in runtime.c. The variable is only used by an os_assert and
nowhere else. I've removed it and instead put the check directly in the
assert.

Failing build: https://ci.swift.org/view/Swift%20rebranch/job/oss-swift-rebranch-ubuntu-18_04/9/console

The rebranch branch is failing to build due to an unused refcount
variable in runtime.c. The variable is only used by an os_assert and
nowhere else. I've removed it and instead put the check directly in the
assert.
@etcwilde
Copy link
Contributor Author

@swift-ci please test

@rokhinip rokhinip self-requested a review August 19, 2021 19:03
Copy link
Contributor

@dgrove-oss dgrove-oss left a comment

Choose a reason for hiding this comment

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

LGTM

@etcwilde
Copy link
Contributor Author

@swift-ci please test

@etcwilde etcwilde merged commit 9b68b04 into swiftlang:main Aug 20, 2021
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.

4 participants