suppressed uninitialized memory read

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3622 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2010-10-06 19:06:12 +00:00
parent dffd2ad686
commit 709f9b515b

View File

@ -79,7 +79,10 @@ class DirEntry;
class FileEntry class FileEntry
{ {
public: public:
FileEntry() :parent(NULL), row(0) { return; } FileEntry()
:parent(NULL), row(0) ,size(0),modtime(0),pop(0),updtime(0)
{ return; }
virtual ~FileEntry() { return; } virtual ~FileEntry() { return; }
virtual int print(std::ostream &out); virtual int print(std::ostream &out);
@ -106,6 +109,7 @@ class DirEntry: public FileEntry
{ {
public: public:
DirEntry() : most_recent_time(0) {}
/* cleanup */ /* cleanup */
virtual ~DirEntry(); virtual ~DirEntry();