mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-26 15:28:28 -05:00
Fix CppCheck in authgpg
/libretroshare/src/pqi/authgpg.cc:124: warning: Cppcheck(uninitMemberVar): Member variable 'AuthGPG::mStoreKeyTime' is not initialized in the constructor. /libretroshare/src/pqi/authgpg.h:58: warning: Cppcheck(noExplicitConstructor): Class 'AuthGPGOperation' has a constructor with 1 argument that is not explicit.
This commit is contained in:
parent
cd040f6501
commit
4fc7787405
@ -127,11 +127,12 @@ AuthGPG::AuthGPG(const std::string& path_to_public_keyring,const std::string& pa
|
||||
gpgMtxService("AuthGPG-service"),
|
||||
gpgMtxEngine("AuthGPG-engine"),
|
||||
gpgMtxData("AuthGPG-data"),
|
||||
gpgKeySelected(false)
|
||||
mStoreKeyTime(0),
|
||||
gpgKeySelected(false),
|
||||
_force_sync_database(false),
|
||||
mCount(0)
|
||||
{
|
||||
_force_sync_database = false ;
|
||||
mCount = 0;
|
||||
start("AuthGPG");
|
||||
start("AuthGPG");
|
||||
}
|
||||
|
||||
/* This function is called when retroshare is first started
|
||||
|
@ -55,7 +55,7 @@ class RsPeerDetails;
|
||||
class AuthGPGOperation
|
||||
{
|
||||
public:
|
||||
AuthGPGOperation(void *userdata)
|
||||
explicit AuthGPGOperation(void *userdata)
|
||||
{
|
||||
m_userdata = userdata;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user