From 3f323588c3c31ebdc2a19acc57aa60689932a702 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Fri, 5 Oct 2012 13:07:41 -0700 Subject: [PATCH] Remove redundant lock. --- src/FieldNames.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/FieldNames.cpp b/src/FieldNames.cpp index be5fe00201..122550eb18 100644 --- a/src/FieldNames.cpp +++ b/src/FieldNames.cpp @@ -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::iterator it = codeToField.find(code);