Merge pull request #112 from iosphere/fix-shadowed-variable
Fix warning on shadowed variable when creating zip file
This commit is contained in:
commit
a75d901a85
@ -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];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user