@@ -365,50 +365,50 @@ swift_copyAuxiliaryExecutablePath(const char *name)
365
365
const char *archName = SWIFT_ARCH;
366
366
367
367
// <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 )) {
372
372
return result;
373
373
}
374
374
375
375
// <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 )) {
381
381
return result;
382
382
}
383
383
384
384
// <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 )) {
389
389
return result;
390
390
}
391
391
392
392
// <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 )) {
397
397
return result;
398
398
}
399
399
400
400
// <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 )) {
404
404
return result;
405
405
}
406
406
407
407
// <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 )) {
412
412
return result;
413
413
}
414
414
0 commit comments