mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-12-23 17:28:56 +00:00
Remove unused field
Found via clang.
This commit is contained in:
parent
80972aa33d
commit
d8cf26bd50
@ -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;
|
||||||
|
@ -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;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
//-------------------------------------------------------------------
|
//-------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user