Skip to content

Commit

Permalink
Fixed compile warning/error on FreeBSD (dotnet/corefx#24141)
Browse files Browse the repository at this point in the history
Commit migrated from dotnet/corefx@b1ceb53
  • Loading branch information
sec authored and stephentoub committed Sep 19, 2017
1 parent 09de35f commit 2758211
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1271,12 +1271,11 @@ static void LockingCallback(int mode, int n, const char* file, int line)
result = pthread_mutex_unlock(&g_locks[n]);
}

#pragma clang diagnostic pop

if (result != 0)
{
assert(0 && "LockingCallback failed.");
}
#pragma clang diagnostic pop
}

#ifdef __APPLE__
Expand Down

0 comments on commit 2758211

Please sign in to comment.