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

Declaration shadows a local variable in SBJsonStreamParser.m #30

Closed
creednmd opened this issue Dec 28, 2010 · 4 comments
Closed

Declaration shadows a local variable in SBJsonStreamParser.m #30

creednmd opened this issue Dec 28, 2010 · 4 comments

Comments

@creednmd
Copy link

In SBJsonStreamParser.m line 123 you have a method argument 'data', which is clashing with a similarly named local variable defined on line 226.

@stig
Copy link
Collaborator

stig commented Dec 29, 2010

This shouldn't be a problem, as there is no conflict. Are you using some compiler settings that warn about this?

@creednmd
Copy link
Author

Yes, latest build of Clang Static Analyser (2.5.3) being called as external binary from within Xcode 3.2.5; with all warnings turned on, it flags this as a possible issue.

@stig
Copy link
Collaborator

stig commented Dec 29, 2010

OK, fixed.

@creednmd
Copy link
Author

Much obliged. Love the framework and am using it in the App I’m working on. Saved me so much work. Really appreciate it.

This issue was closed.
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