Clarity improvement, resetting backup description variable because it's no longer valid due to some of its contents being std::move'd.

This commit is contained in:
Stephen Atherton 2018-03-09 12:03:10 -08:00
parent 3a7288924a
commit 9c901983f0
1 changed files with 1 additions and 0 deletions

View File

@ -632,6 +632,7 @@ public:
if(f.endVersion < expireEndVersion)
toDelete.push_back(std::move(f.fileName));
}
desc = BackupDescription();
// If some files to delete were found AND force is needed AND the force option is NOT set, then fail
if(!toDelete.empty() && forceNeeded && !force)