Skip to content
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

Variable 'effectiveRangeOfLink' may be uninitialized when used here #967

Closed
strong84 opened this issue May 1, 2016 · 2 comments
Closed
Assignees
Labels
Milestone

Comments

@strong84
Copy link

strong84 commented May 1, 2016

/Users/admin/Downloads/DTCoreText-1.6.17/Core/Source/DTAttributedTextContentView.m:263:43: Variable 'effectiveRangeOfLink' may be uninitialized when used here

When I archive DTCoreText with latest Xcode 7.3, It warns me the above info. Is it normal?

@odrobnik odrobnik added the Bug label May 8, 2016
@odrobnik
Copy link
Collaborator

odrobnik commented May 8, 2016

The warning is wrong if you read the code. But nevertheless this will be fixed in the next release.

@odrobnik odrobnik added this to the 1.6.18 milestone May 8, 2016
@odrobnik odrobnik self-assigned this May 8, 2016
@odrobnik
Copy link
Collaborator

odrobnik commented May 8, 2016

Fixed in b90c65b

@odrobnik odrobnik closed this as completed May 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants