mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-15 19:04:25 -05:00
suppressed unninitialisez memory reads
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2407 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
5acc8411e5
commit
ede337b7d4
@ -40,7 +40,13 @@
|
|||||||
class ForumInfo
|
class ForumInfo
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ForumInfo() {}
|
ForumInfo()
|
||||||
|
{
|
||||||
|
forumFlags = 0 ;
|
||||||
|
subscribeFlags = 0 ;
|
||||||
|
pop = 0 ;
|
||||||
|
lastPost = 0 ;
|
||||||
|
}
|
||||||
std::string forumId;
|
std::string forumId;
|
||||||
std::wstring forumName;
|
std::wstring forumName;
|
||||||
std::wstring forumDesc;
|
std::wstring forumDesc;
|
||||||
@ -56,7 +62,11 @@ class ForumInfo
|
|||||||
class ForumMsgInfo
|
class ForumMsgInfo
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ForumMsgInfo() {}
|
ForumMsgInfo()
|
||||||
|
{
|
||||||
|
msgflags = 0 ;
|
||||||
|
ts = childTS = 0 ;
|
||||||
|
}
|
||||||
std::string forumId;
|
std::string forumId;
|
||||||
std::string threadId;
|
std::string threadId;
|
||||||
std::string parentId;
|
std::string parentId;
|
||||||
@ -76,7 +86,12 @@ class ForumMsgInfo
|
|||||||
class ThreadInfoSummary
|
class ThreadInfoSummary
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ThreadInfoSummary() {}
|
ThreadInfoSummary()
|
||||||
|
{
|
||||||
|
msgflags = 0 ;
|
||||||
|
count = 0 ;
|
||||||
|
ts = childTS = 0 ;
|
||||||
|
}
|
||||||
std::string forumId;
|
std::string forumId;
|
||||||
std::string threadId;
|
std::string threadId;
|
||||||
std::string parentId;
|
std::string parentId;
|
||||||
|
@ -131,6 +131,15 @@ std::ostream &operator<<(std::ostream &out, const FileInfo &info);
|
|||||||
class RsConfig
|
class RsConfig
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
RsConfig()
|
||||||
|
{
|
||||||
|
localPort = extPort = 0 ;
|
||||||
|
firewalled = forwardPort = false ;
|
||||||
|
maxDownloadDataRate = maxUploadDataRate = maxIndivDataRate = 0 ;
|
||||||
|
promptAtBoot = 0 ;
|
||||||
|
DHTActive = uPnPActive = netLocalOk = netDhtOk = netStunOk = netExtraAddressOk = false ;
|
||||||
|
uPnPState = DHTPeers = 0 ;
|
||||||
|
}
|
||||||
std::string ownId;
|
std::string ownId;
|
||||||
std::string ownName;
|
std::string ownName;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user