Remove unused field

Found via clang.
This commit is contained in:
Andrew Gaul 2019-08-01 16:42:38 -07:00
parent 80972aa33d
commit d8cf26bd50
2 changed files with 1 additions and 2 deletions

View File

@ -425,7 +425,7 @@ void free_mvnodes(MVNODE *head)
//------------------------------------------------------------------- //-------------------------------------------------------------------
// Class AutoLock // Class AutoLock
//------------------------------------------------------------------- //-------------------------------------------------------------------
AutoLock::AutoLock(pthread_mutex_t* pmutex, Type type) : auto_mutex(pmutex), type(type) AutoLock::AutoLock(pthread_mutex_t* pmutex, Type type) : auto_mutex(pmutex)
{ {
if (type == ALREADY_LOCKED) { if (type == ALREADY_LOCKED) {
is_lock_acquired = false; is_lock_acquired = false;

View File

@ -99,7 +99,6 @@ class AutoLock
private: private:
pthread_mutex_t* const auto_mutex; pthread_mutex_t* const auto_mutex;
bool is_lock_acquired; bool is_lock_acquired;
const Type type;
}; };
//------------------------------------------------------------------- //-------------------------------------------------------------------