From 39f668c09615e8d1c2fc1eada849068135ac0d08 Mon Sep 17 00:00:00 2001 From: Sam Deane Date: Tue, 22 Sep 2015 15:09:06 +0100 Subject: [PATCH] fixed an XC7 warning --- SUBasicUpdateDriver.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SUBasicUpdateDriver.m b/SUBasicUpdateDriver.m index 4d9efc38..ff5aec77 100644 --- a/SUBasicUpdateDriver.m +++ b/SUBasicUpdateDriver.m @@ -196,7 +196,7 @@ while ((currentPathComponent = [pathComponentEnumerator nextObject])) { pathComponentAccumulator = [pathComponentAccumulator stringByAppendingPathComponent:currentPathComponent]; if ([[NSFileManager defaultManager] fileExistsAtPath:pathComponentAccumulator]) continue; - success &= [[NSFileManager defaultManager] createDirectoryAtPath:pathComponentAccumulator attributes:nil]; + success &= [[NSFileManager defaultManager] createDirectoryAtPath:pathComponentAccumulator attributes:@{}]; } #else BOOL success = [[NSFileManager defaultManager] createDirectoryAtPath:tempDir withIntermediateDirectories:YES attributes:nil error:NULL];