mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-22 05:14:31 -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
2 changed files with 7 additions and 6 deletions
|
@ -148,7 +148,10 @@ bool RsGxsMessageCleanUp::clean()
|
||||||
RsGxsIntegrityCheck::RsGxsIntegrityCheck(
|
RsGxsIntegrityCheck::RsGxsIntegrityCheck(
|
||||||
RsGeneralDataService* const dataService, RsGenExchange* genex,
|
RsGeneralDataService* const dataService, RsGenExchange* genex,
|
||||||
RsSerialType& serializer, RsGixs* gixs ) :
|
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) {}
|
mDone(false), mIntegrityMutex("integrity"), mGixs(gixs) {}
|
||||||
|
|
||||||
void RsGxsIntegrityCheck::run()
|
void RsGxsIntegrityCheck::run()
|
||||||
|
|
|
@ -21,8 +21,7 @@
|
||||||
* *
|
* *
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
#ifndef GXSUTIL_H_
|
#pragma once
|
||||||
#define GXSUTIL_H_
|
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include "rsitems/rsnxsitems.h"
|
#include "rsitems/rsnxsitems.h"
|
||||||
|
@ -214,8 +213,9 @@ private:
|
||||||
|
|
||||||
RsGeneralDataService* const mDs;
|
RsGeneralDataService* const mDs;
|
||||||
RsGenExchange *mGenExchangeClient;
|
RsGenExchange *mGenExchangeClient;
|
||||||
|
#ifdef RS_DEEP_SEARCH
|
||||||
RsSerialType& mSerializer;
|
RsSerialType& mSerializer;
|
||||||
|
#endif
|
||||||
bool mDone;
|
bool mDone;
|
||||||
RsMutex mIntegrityMutex;
|
RsMutex mIntegrityMutex;
|
||||||
std::list<RsGxsGroupId> mDeletedGrps;
|
std::list<RsGxsGroupId> mDeletedGrps;
|
||||||
|
@ -262,5 +262,3 @@ public:
|
||||||
GxsMsgReq mMsgs ;
|
GxsMsgReq mMsgs ;
|
||||||
uint32_t mToken;
|
uint32_t mToken;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* GXSUTIL_H_ */
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue