Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Fix compile error on FreeBSD #24141

Merged
merged 2 commits into from
Sep 19, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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