diff options
author | Remko Tronçon <git@el-tramo.be> | 2014-05-18 09:29:04 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2014-05-18 15:49:08 (GMT) |
commit | 9bba31c6ce54290011a96723f720d872ecdbabca (patch) | |
tree | eec68d77764e85957d4c25878010e34f29ee8410 /Swiften/FileTransfer | |
parent | a507d029d8995e27adf96a46f60a8ba696667f7e (diff) | |
download | swift-9bba31c6ce54290011a96723f720d872ecdbabca.zip swift-9bba31c6ce54290011a96723f720d872ecdbabca.tar.bz2 |
Fix uninitialized variables
Change-Id: I95b6b67dcafe338561d3dfb28664bc3bba6d1159
Diffstat (limited to 'Swiften/FileTransfer')
-rw-r--r-- | Swiften/FileTransfer/FileTransfer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/FileTransfer/FileTransfer.cpp b/Swiften/FileTransfer/FileTransfer.cpp index c11e8e4..912a78a 100644 --- a/Swiften/FileTransfer/FileTransfer.cpp +++ b/Swiften/FileTransfer/FileTransfer.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013 Remko Tronçon + * Copyright (c) 2013-2014 Remko Tronçon * Licensed under the GNU General Public License. * See the COPYING file for more information. */ @@ -8,7 +8,7 @@ using namespace Swift; -FileTransfer::FileTransfer() { +FileTransfer::FileTransfer() : fileSizeInBytes(0) { } FileTransfer::~FileTransfer() { |