[Pkg-owncloud-commits] [owncloud-client] 50/70: Legacy Propagator: Properly initialize members

Sandro Knauß hefee-guest at moszumanska.debian.org
Tue Jul 1 10:21:22 UTC 2014


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 88776770f7c065745d472ff726cae8dbea58a009
Author: Daniel Molkentin <danimo at owncloud.com>
Date:   Fri Jun 20 13:36:15 2014 +0200

    Legacy Propagator: Properly initialize members
    
    This fixes coverity CID 12919
---
 src/mirall/propagator_legacy.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/mirall/propagator_legacy.h b/src/mirall/propagator_legacy.h
index 813b8c5..a624064 100644
--- a/src/mirall/propagator_legacy.h
+++ b/src/mirall/propagator_legacy.h
@@ -23,7 +23,8 @@ class PropagateUploadFileLegacy: public PropagateNeonJob {
     Q_OBJECT
 public:
     explicit PropagateUploadFileLegacy(OwncloudPropagator* propagator,const SyncFileItem& item)
-        : PropagateNeonJob(propagator, item), _previousFileSize(0) {}
+        : PropagateNeonJob(propagator, item)
+        , _chunked_done(0), _chunked_total_size(0), _previousFileSize(0) {}
     void start();
 private:
     // Log callback for httpbf

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list