summaryrefslogtreecommitdiff
path: root/lib/backupstore
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2013-09-28 23:41:13 +0000
committerChris Wilson <chris+github@qwirx.com>2013-09-28 23:41:13 +0000
commit4e3a8826998a38250ff4751c8836c596e9c25a4a (patch)
treea9c57343ac76f85faec9d5df534907db0444d2d6 /lib/backupstore
parentcb0e1cdf97118aed6526f8ba78c79175aa7d2b67 (diff)
Clang complains that numDelObj is not initialised.
I don't think this has any effect in practice, but this patch ensures that it is initialised anyway.
Diffstat (limited to 'lib/backupstore')
-rw-r--r--lib/backupstore/BackupStoreInfo.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/backupstore/BackupStoreInfo.cpp b/lib/backupstore/BackupStoreInfo.cpp
index 11697879..b6714709 100644
--- a/lib/backupstore/BackupStoreInfo.cpp
+++ b/lib/backupstore/BackupStoreInfo.cpp
@@ -146,8 +146,7 @@ std::auto_ptr<BackupStoreInfo> BackupStoreInfo::Load(int32_t AccountID,
info->mDiscSet = DiscSet;
info->mFilename = fn;
info->mReadOnly = ReadOnly;
-
- int64_t numDelObj;
+ int64_t numDelObj = 0;
if (v1)
{