remove non-working test code
This commit is contained in:
parent
a5766d4512
commit
7079044904
@ -74,11 +74,9 @@ CFStringRef copy_device_support_path(AMDeviceRef device) {
|
|||||||
// there is almost certainly a better way of doing this
|
// there is almost certainly a better way of doing this
|
||||||
if (path_exists(path_with_build)) {
|
if (path_exists(path_with_build)) {
|
||||||
CFRelease(path_without_build);
|
CFRelease(path_without_build);
|
||||||
CFRelease(library_path);
|
|
||||||
return path_with_build;
|
return path_with_build;
|
||||||
} else if (path_exists(path_without_build)) {
|
} else if (path_exists(path_without_build)) {
|
||||||
CFRelease(path_with_build);
|
CFRelease(path_with_build);
|
||||||
CFRelease(library_path);
|
|
||||||
return path_without_build;
|
return path_without_build;
|
||||||
} else {
|
} else {
|
||||||
printf("[ !! ] Unable to locate DeviceSupport directory.\n");
|
printf("[ !! ] Unable to locate DeviceSupport directory.\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user