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
想要评论请 注册 或 登录