From 4e3a8826998a38250ff4751c8836c596e9c25a4a Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sat, 28 Sep 2013 23:41:13 +0000 Subject: 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. --- lib/backupstore/BackupStoreInfo.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/backupstore') 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::Load(int32_t AccountID, info->mDiscSet = DiscSet; info->mFilename = fn; info->mReadOnly = ReadOnly; - - int64_t numDelObj; + int64_t numDelObj = 0; if (v1) { -- cgit v1.2.3