@@ -365,50 +365,50 @@ swift_copyAuxiliaryExecutablePath(const char *name)
365365 const char *archName = SWIFT_ARCH;
366366
367367 // <rootPath>/libexec/swift/<platformName>
368- if (const char *result = _swift_tryAuxExePath (name,
369- rootPath,
370- " libexec" , " swift" ,
371- platformName, nullptr )) {
368+ if (char *result = _swift_tryAuxExePath (name,
369+ rootPath,
370+ " libexec" , " swift" ,
371+ platformName, nullptr )) {
372372 return result;
373373 }
374374
375375 // <rootPath>/libexec/swift/<platformName>/<arch>
376- if (const char *result = _swift_tryAuxExePath (name,
377- rootPath,
378- " libexec" , " swift" ,
379- platformName,
380- archName, nullptr )) {
376+ if (char *result = _swift_tryAuxExePath (name,
377+ rootPath,
378+ " libexec" , " swift" ,
379+ platformName,
380+ archName, nullptr )) {
381381 return result;
382382 }
383383
384384 // <rootPath>/libexec/swift
385- if (const char *result = _swift_tryAuxExePath (name,
386- rootPath,
387- " libexec" , " swift" ,
388- nullptr )) {
385+ if (char *result = _swift_tryAuxExePath (name,
386+ rootPath,
387+ " libexec" , " swift" ,
388+ nullptr )) {
389389 return result;
390390 }
391391
392392 // <rootPath>/libexec/swift/<arch>
393- if (const char *result = _swift_tryAuxExePath (name,
394- rootPath,
395- " libexec" , " swift" ,
396- archName, nullptr )) {
393+ if (char *result = _swift_tryAuxExePath (name,
394+ rootPath,
395+ " libexec" , " swift" ,
396+ archName, nullptr )) {
397397 return result;
398398 }
399399
400400 // <rootPath>/bin
401- if (const char *result = _swift_tryAuxExePath (name,
402- rootPath,
403- " bin" , nullptr )) {
401+ if (char *result = _swift_tryAuxExePath (name,
402+ rootPath,
403+ " bin" , nullptr )) {
404404 return result;
405405 }
406406
407407 // <rootPath>/bin/<arch>
408- if (const char *result = _swift_tryAuxExePath (name,
409- rootPath,
410- " bin" ,
411- archName, nullptr )) {
408+ if (char *result = _swift_tryAuxExePath (name,
409+ rootPath,
410+ " bin" ,
411+ archName, nullptr )) {
412412 return result;
413413 }
414414
0 commit comments