Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Fix uninitialized-variable error with Xcode 4.6+ #57

Merged
merged 1 commit into from Feb 14, 2013

Conversation

Projects
None yet
2 participants
Contributor

snej commented Feb 5, 2013

The version of Clang in Xcode 4.6 now complains about usage of an
uninitialized variable 'hasBytesAvailable' in -[GCDAsyncSocket doReadData].
This breaks compilation. I've added a few lines to initialize the variable.

@snej snej Fix uninitialized-variable error
The version of Clang in Xcode 4.6 now complains about usage of an
uninitialized variable 'hasBytesAvailable' in -[GCDAsyncSocket doReadData].
This breaks compilation. I've added a few lines to initialize the variable.
5f8386d

@vronin vronin added a commit that referenced this pull request Feb 14, 2013

@vronin vronin Merge pull request #57 from couchbaselabs/master
Fix uninitialized-variable error with Xcode 4.6+
f1cebb1

@vronin vronin merged commit f1cebb1 into robbiehanson:master Feb 14, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment