[Pkg-owncloud-commits] [owncloud-client] 43/70: SyncJournalDB: Initialize size member properly with 0
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 3217e42a0fdcce5510413528d68b645940754834
Author: Klaas Freitag <freitag at owncloud.com>
Date: Fri Jun 20 12:37:49 2014 +0200
SyncJournalDB: Initialize size member properly with 0
This fixes Coverity CID 12924
---
src/mirall/syncjournaldb.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mirall/syncjournaldb.h b/src/mirall/syncjournaldb.h
index 6663df8..bf11f11 100644
--- a/src/mirall/syncjournaldb.h
+++ b/src/mirall/syncjournaldb.h
@@ -57,7 +57,7 @@ public:
bool _valid;
};
struct UploadInfo {
- UploadInfo() : _chunk(0), _transferid(0), _errorCount(0), _valid(false) {}
+ UploadInfo() : _chunk(0), _transferid(0), _size(0), _errorCount(0), _valid(false) {}
int _chunk;
int _transferid;
quint64 _size; //currently unused
--
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