Skip to content

Commit

Permalink
Fix compiler error in ASLocking
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenhuy committed Aug 21, 2018
1 parent 95de2ab commit af032b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/ASLocking.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ NS_INLINE void ASUnlockSet(ASLockSet *lockSet) {
*/
NS_INLINE ASLockSet ASLockSequence(NS_NOESCAPE ASLockSequenceBlock body)
{
__block ASLockSet locks = (ASLockSet){0};
__block ASLockSet locks;
BOOL (^addLock)(id<ASLocking>) = ^(id<ASLocking> obj) {

// nil lock = ignore.
Expand Down

0 comments on commit af032b5

Please sign in to comment.