Merge pull request #112 from iosphere/fix-shadowed-variable

Fix warning on shadowed variable when creating zip file
This commit is contained in:
Douglas Bumby 2015-04-06 15:00:27 -04:00
commit a75d901a85

View File

@ -369,8 +369,8 @@
BOOL success = NO;
SSZipArchive *zipArchive = [[SSZipArchive alloc] initWithPath:path];
if ([zipArchive open]) {
for (NSString *path in paths) {
[zipArchive writeFile:path];
for (NSString *filePath in paths) {
[zipArchive writeFile:filePath];
}
success = [zipArchive close];
}