Merge pull request #1113 from gaul/unused

Remove unused field
This commit is contained in:
Takeshi Nakatani 2019-08-04 01:31:56 +09:00 committed by GitHub
commit 1e7330e499
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -425,7 +425,7 @@ void free_mvnodes(MVNODE *head)
//-------------------------------------------------------------------
// 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) {
is_lock_acquired = false;

View File

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