Fixed Xcode 4.6 analyzer warnings.
Merge pull request #6 from IdeasOnCanvas/develop

Fix for Xcode 4.6 analyzer warnings.