mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-24 04:38:16 +00:00
Fix use of potentially uninitialized variables.
This commit is contained in:
1 parent
c015f5e968
commit
08bc0d574e
1 file changed
+1
-1
+1
-1
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user