Skip to content

Commit fbdfc62

Browse files
committed
Always initialize executablePath on this path.
1 parent 08a74cc commit fbdfc62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CoreFoundation/PlugIn.subproj/CFBundle_Executable.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ static CFURLRef _CFBundleCopyExecutableURLInDirectory2(CFBundleRef bundle, CFURL
281281
CFURLRef absURL = CFURLCopyAbsoluteURL(executableURL);
282282
#if DEPLOYMENT_TARGET_WINDOWS
283283
executablePath = CFURLCopyFileSystemPath(absURL, kCFURLWindowsPathStyle);
284-
#elif DEPLOYMENT_TARGET_MACOSX || DEPLOYMENT_TARGET_EMBEDDED || DEPLOYMENT_TARGET_EMBEDDED_MINI
284+
#else
285285
executablePath = CFURLCopyFileSystemPath(absURL, kCFURLPOSIXPathStyle);
286286
#endif
287287
CFRelease(absURL);

0 commit comments

Comments
 (0)