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 Analyzer Errors #83

Closed
yepher opened this issue Nov 20, 2014 · 4 comments
Closed

Static Analyzer Errors #83

yepher opened this issue Nov 20, 2014 · 4 comments

Comments

@yepher
Copy link

yepher commented Nov 20, 2014

The following code is causing errors in the static analyzer:

I am using the following Podspec:

pod 'DTFoundation', '1.7.3' 

DTProgressHUD.m

Bot Issue: analyzerWarning. Dead store.
Issue: Value stored to 'height' is never read.
File: DTProgressHUD.m.
Integration Number: 54.
Integration URL: https://build6.local/xcode/bots/C613BCA/integrations
Description: Value stored to 'height' is never read.
Committers: Introduced 50 integrations ago.

DTSidePanelController.m

Bot Issue: analyzerWarning. Logic error.
Issue: Passed-by-value struct argument contains uninitialized data (e.g., field: 'x').
File: DTSidePanelController.m.
Integration Number: 54.
Integration URL: https://build6.local/xcode/bots/C613BCA/integrations
Description: Passed-by-value struct argument contains uninitialized data (e.g., field: 'x').
Committers: Introduced 50 integrations ago.

DTZipArchiveGZip.m

Bot Issue: analyzerWarning. Coding conventions (Apple).
Issue: Potential null dereference.  According to coding standards in 'Creating and Returning NSError Objects' the parameter may be null.
File: DTZipArchiveGZip.m.
Integration Number: 54.
Integration URL: https://build6.local/xcode/bots/C613BCA/integrations
Description: Potential null dereference.  According to coding standards in 'Creating and Returning NSError Objects' the parameter may be null.
Committers: Introduced 50 integrations ago.
@odrobnik
Copy link
Collaborator

please fix and submit Pull Request.

@yepher
Copy link
Author

yepher commented Nov 20, 2014

Sent a pull request: #84

@odrobnik
Copy link
Collaborator

thanks, this will be in the next point release that I do for Cocoapods.

@odrobnik
Copy link
Collaborator

odrobnik commented Dec 2, 2014

merged into b215d72

@odrobnik odrobnik closed this as completed Dec 2, 2014
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