Skip to content

Fix declaration shadows a local variable warning.#12

Open
streeter wants to merge 1 commit intomattgemmell:masterfrom
educreations:shadow-local-variable-fix
Open

Fix declaration shadows a local variable warning.#12
streeter wants to merge 1 commit intomattgemmell:masterfrom
educreations:shadow-local-variable-fix

Conversation

@streeter
Copy link

On iOS 4.x and up, there is a local declaration of the sourceImg variable, which causes a warning in Xcode 4.6. This moves the declaration of the sourceImg variable outside the #ifdef and then doesn't redefine it in the inner block.

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

Successfully merging this pull request may close these issues.

1 participant