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

Commit

Permalink
Fixed compile warning/error on FreeBSD (#24141)
Browse files Browse the repository at this point in the history
  • Loading branch information
sec authored and stephentoub committed Sep 19, 2017
1 parent 996ddfd commit b1ceb53
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 b1ceb53

Please sign in to comment.