mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fix clang warning for
In file included from ../../../trunk/libretroshare/src/gxs/rsgxsutil.cc: 26: ../../../trunk/libretroshare/src/gxs/rsgxsutil.h:217:16: warning: private field 'mSerializer' is not used [-Wunused-private-field] RsSerialType& mSerializer; ^
This commit is contained in:
parent
b46e07191f
commit
dd7c658ed1
@ -148,7 +148,10 @@ bool RsGxsMessageCleanUp::clean()
|
||||
RsGxsIntegrityCheck::RsGxsIntegrityCheck(
|
||||
RsGeneralDataService* const dataService, RsGenExchange* genex,
|
||||
RsSerialType& serializer, RsGixs* gixs ) :
|
||||
mDs(dataService), mGenExchangeClient(genex), mSerializer(serializer),
|
||||
mDs(dataService), mGenExchangeClient(genex),
|
||||
#ifdef RS_DEEP_SEARCH
|
||||
mSerializer(serializer),
|
||||
#endif
|
||||
mDone(false), mIntegrityMutex("integrity"), mGixs(gixs) {}
|
||||
|
||||
void RsGxsIntegrityCheck::run()
|
||||
|
@ -21,8 +21,7 @@
|
||||
* *
|
||||
*******************************************************************************/
|
||||
|
||||
#ifndef GXSUTIL_H_
|
||||
#define GXSUTIL_H_
|
||||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
#include "rsitems/rsnxsitems.h"
|
||||
@ -214,8 +213,9 @@ private:
|
||||
|
||||
RsGeneralDataService* const mDs;
|
||||
RsGenExchange *mGenExchangeClient;
|
||||
#ifdef RS_DEEP_SEARCH
|
||||
RsSerialType& mSerializer;
|
||||
|
||||
#endif
|
||||
bool mDone;
|
||||
RsMutex mIntegrityMutex;
|
||||
std::list<RsGxsGroupId> mDeletedGrps;
|
||||
@ -262,5 +262,3 @@ public:
|
||||
GxsMsgReq mMsgs ;
|
||||
uint32_t mToken;
|
||||
};
|
||||
|
||||
#endif /* GXSUTIL_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user