[Pkg-owncloud-commits] [owncloud-client] 24/103: Add initialisations for member variables.

Sandro Knauß hefee-guest at moszumanska.debian.org
Wed Apr 30 18:08:55 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 4c6e6f630270f00eaceaf4b5290f367a4373c4ea
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Tue Apr 15 16:11:21 2014 +0200

    Add initialisations for member variables.
    
    Avoids some valgrind warnings.
---
 src/mirall/syncfileitem.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/mirall/syncfileitem.h b/src/mirall/syncfileitem.h
index cd7228b..a92bc03 100644
--- a/src/mirall/syncfileitem.h
+++ b/src/mirall/syncfileitem.h
@@ -49,7 +49,8 @@ public:
         FileIgnored ///< The file is in the ignored list
     };
 
-    SyncFileItem() : _type(UnknownType), _should_update_etag(false), _blacklistedInDb(false),
+    SyncFileItem() : _type(UnknownType),  _direction(None), _instruction(CSYNC_INSTRUCTION_NONE),
+        _should_update_etag(false), _blacklistedInDb(false),
         _status(NoStatus), _httpErrorCode(0), _requestDuration(0) {}
 
     friend bool operator==(const SyncFileItem& item1, const SyncFileItem& item2) {

-- 
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