diff options
author | Chris Wilson <chris+github@qwirx.com> | 2013-09-28 23:41:13 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2013-09-28 23:41:13 +0000 |
commit | 4e3a8826998a38250ff4751c8836c596e9c25a4a (patch) | |
tree | a9c57343ac76f85faec9d5df534907db0444d2d6 /lib | |
parent | cb0e1cdf97118aed6526f8ba78c79175aa7d2b67 (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')
-rw-r--r-- | lib/backupstore/BackupStoreInfo.cpp | 3 |
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) { |