summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-08-17 12:42:48 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-08-17 12:43:41 (GMT)
commit6687a82476a96922f23d4fd3535d4e7354d9cdab (patch)
tree13bfc8e9f277dcb16f034bbf71b234b2f3547d04 /src/corelib
parent1ca6a2f3174fdfbbe080af920ab75558a1a9247e (diff)
downloadQt-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.h4
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 &copy)
: 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() {