Skip to content

Commit

Permalink
Fix compiler error in ASLocking #trivial (#1079)
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenhuy committed Aug 22, 2018
1 parent 2e95f55 commit 31cb65b
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 = (ASLockSet){0, {}};
BOOL (^addLock)(id<ASLocking>) = ^(id<ASLocking> obj) {

// nil lock = ignore.
Expand Down

0 comments on commit 31cb65b

Please sign in to comment.