-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix warning on unused return values in RCTSRWebSocket
Summary: Assert that the return value of these methods is sane. Closes #8108 Reviewed By: majak Differential Revision: D3722629 fbshipit-source-id: 2a67daae6dc380721e5dad27acd2ab67f71d0c6c
- Loading branch information
Showing
2 changed files
with
12 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2f78852
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@javache, this fixes the issue, but it seems to have caused the development logs to get noisy? I don't know if this is an Xcode 8 issue or this commit's side-effect.
2f78852
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's a known Xcode problem: you can disable it through an environment variable: http://stackoverflow.com/questions/39585796/disable-extra-information-from-the-xcode-8-console
2f78852
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made a PR that will bootstrap new projects using that setting, I don't know if you guys looked at that yet?
2f78852
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@javache -- it worked. If you get errors/warnings like
Use of undeclared identifier '_refreshControl'; did you mean 'refreshControl'?
replace it with