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

Static analysis problems #2

Open
dsowsy opened this issue Oct 2, 2013 · 1 comment
Open

Static analysis problems #2

dsowsy opened this issue Oct 2, 2013 · 1 comment

Comments

@dsowsy
Copy link

dsowsy commented Oct 2, 2013

In an iOS7 based project,

  1. JSGCDDispatcher.m:117:98: Variable 'bgTask' is uninitialized when captured by block
  2. JSGCDDispatcher.h:15:8: Instance variable '_backgroundTimeAvailable' in class 'JSGCDDispatcher' is never used by the methods in its @implementation (although it may be used by category methods)
@jdewind
Copy link
Owner

jdewind commented Oct 7, 2013

@dsowsy,

I've identified the issue and bgTask should be initialized to some value before it is used in the block. I'll also be upgrading other aspects of it to get it up to speed.

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

No branches or pull requests

2 participants