Remove redundant lock.

This commit is contained in:
JoelKatz
2012-10-05 13:07:41 -07:00
parent 830971b606
commit 3f323588c3

View File

@@ -34,8 +34,6 @@ SField::ref SField::getField(int code)
if ((type <= 0) || (field <= 0))
return sfInvalid;
boost::mutex::scoped_lock sl(mapMutex);
boost::recursive_mutex::scoped_lock sl(mapMutex);
std::map<int, SField::ptr>::iterator it = codeToField.find(code);