Fix use of potentially uninitialized variables.

This commit is contained in:
Jake Petroules committed 2014-06-28 21:13:31 -04:00
1 parent c015f5e968
commit 08bc0d574e
1 file changed
+1 -1
+1 -1
View File
@@ -27,7 +27,7 @@ static NSString* sUpdateFolder = nil;
{
FSRef fileRef;
OSStatus err = noErr;
Boolean aliasFileFlag, folderFlag;
Boolean aliasFileFlag = false, folderFlag = false;
NSURL *fileURL = [NSURL fileURLWithPath:path];
if (FALSE == CFURLGetFSRef((CFURLRef)fileURL, &fileRef))