X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Ffs%2Fstat.h;fp=source%2Ffs%2Fstat.h;h=00e3eb939dc5000b5d99299a40d8b4bd0e745a3a;hp=e2400ed9b5a037b2a4396aa92d0fb92e01009118;hb=122846f0881673770d88eff7d925ecf25c01b62e;hpb=b116e161e377da0e4e52f07745ecb2d22f962ae9;ds=sidebyside diff --git a/source/fs/stat.h b/source/fs/stat.h index e2400ed..00e3eb9 100644 --- a/source/fs/stat.h +++ b/source/fs/stat.h @@ -33,16 +33,16 @@ private: std::string group; }; - bool exists; - FileType type; - FileSize size; - FileSize alloc_size; + bool exists = false; + FileType type = UNKNOWN; + FileSize size = 0; + FileSize alloc_size = 0; Time::TimeStamp mtime; mutable OwnerInfo owner_info; - Private *priv; + Private *priv = 0; public: - Stat(); + Stat() { } Stat(const Stat &); Stat &operator=(const Stat &); ~Stat();