Simplify GetLockNameFromTagType.
The old code is wrong, because it returns a pointer to an automatic variable. And it's also more clever than we really need to be considering that the case it's worrying about should never happen.
Showing
Please register or sign in to comment