diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-08-17 12:42:48 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-08-17 12:43:41 (GMT) |
commit | 6687a82476a96922f23d4fd3535d4e7354d9cdab (patch) | |
tree | 13bfc8e9f277dcb16f034bbf71b234b2f3547d04 /src/corelib | |
parent | 1ca6a2f3174fdfbbe080af920ab75558a1a9247e (diff) | |
download | Qt-6687a82476a96922f23d4fd3535d4e7354d9cdab.zip Qt-6687a82476a96922f23d4fd3535d4e7354d9cdab.tar.gz Qt-6687a82476a96922f23d4fd3535d4e7354d9cdab.tar.bz2 |
More coverity warnings removed
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/io/qfileinfo_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/io/qfileinfo_p.h b/src/corelib/io/qfileinfo_p.h index d64a5c4..d92090c 100644 --- a/src/corelib/io/qfileinfo_p.h +++ b/src/corelib/io/qfileinfo_p.h @@ -81,11 +81,11 @@ public: CachedSize =0x08 }; struct Data { inline Data() - : ref(1), fileEngine(0), cache_enabled(1) + : ref(1), fileEngine(0), cache_enabled(1), fileSize(0) { clear(); } inline Data(const Data ©) : ref(1), fileEngine(QAbstractFileEngine::create(copy.fileName)), - fileName(copy.fileName), cache_enabled(copy.cache_enabled) + fileName(copy.fileName), cache_enabled(copy.cache_enabled), fileSize(copy.fileSize) { clear(); } inline ~Data() { delete fileEngine; } inline void clearFlags() { |