[Box Backup-commit] COMMIT r969 - box/chris/general/lib/backupstore

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Wed Oct 11 22:57:39 BST 2006


Author: chris
Date: 2006-10-11 22:57:39 +0100 (Wed, 11 Oct 2006)
New Revision: 969

Modified:
   box/chris/general/lib/backupstore/BackupStoreCheck.cpp
Log:
- Remove redundant variable


Modified: box/chris/general/lib/backupstore/BackupStoreCheck.cpp
===================================================================
--- box/chris/general/lib/backupstore/BackupStoreCheck.cpp	2006-09-08 21:47:22 UTC (rev 968)
+++ box/chris/general/lib/backupstore/BackupStoreCheck.cpp	2006-10-11 21:57:39 UTC (rev 969)
@@ -469,11 +469,10 @@
 		}
 		
 		// Add to usage counts
-		int64_t s = file->GetDiscUsageInBlocks();
-		mBlocksUsed += s;
+		mBlocksUsed += size;
 		if(!isFile)
 		{
-			mBlocksInDirectories += s;
+			mBlocksInDirectories += size;
 		}
 	}
 	catch(...)




More information about the Boxbackup-commit mailing list