[Pkg-owncloud-commits] [owncloud-client] 44/70: SyncFileItem: Some more proper member initializations.

Sandro Knauß hefee-guest at moszumanska.debian.org
Tue Jul 1 10:21:21 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 d995d1190fb5663ab35e168722b8bb57d31e57a7
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Fri Jun 20 12:54:46 2014 +0200

    SyncFileItem: Some more proper member initializations.
    
    This fixes a Coverity CID
---
 src/mirall/syncfileitem.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/mirall/syncfileitem.h b/src/mirall/syncfileitem.h
index e062cae..b4b6e1e 100644
--- a/src/mirall/syncfileitem.h
+++ b/src/mirall/syncfileitem.h
@@ -49,8 +49,9 @@ public:
         FileIgnored ///< The file is in the ignored list
     };
 
-    SyncFileItem() : _type(UnknownType),  _direction(None), _instruction(CSYNC_INSTRUCTION_NONE),
-        _size(0), _should_update_etag(false), _blacklistedInDb(false),
+    SyncFileItem() : _type(UnknownType),  _direction(None), _isDirectory(false),
+        _instruction(CSYNC_INSTRUCTION_NONE), _modtime(0),
+        _size(0), _inode(0), _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