Installer: CopyEngine: Remove some debug/uncommented code
This commit is contained in:
parent
b23d504796
commit
28fd71c586
|
@ -141,7 +141,6 @@ CopyEngine::CopyFile(const BEntry& _source, const BEntry& _destination,
|
||||||
SemaphoreLocker lock(cancelSemaphore);
|
SemaphoreLocker lock(cancelSemaphore);
|
||||||
if (cancelSemaphore >= 0 && !lock.IsLocked()) {
|
if (cancelSemaphore >= 0 && !lock.IsLocked()) {
|
||||||
// We are supposed to quit
|
// We are supposed to quit
|
||||||
printf("CopyFile - cancled\n");
|
|
||||||
return B_CANCELED;
|
return B_CANCELED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -555,10 +554,6 @@ CopyEngine::_ShouldClobberFolder(const char* name, const struct stat& statInfo,
|
||||||
printf("clobbering '%s'.\n", name);
|
printf("clobbering '%s'.\n", name);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
// if (strcmp("develop", name) == 0) {
|
|
||||||
// printf("clobbering '%s'.\n", name);
|
|
||||||
// return true;
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -621,5 +616,3 @@ CopyEngine::_WriteThread()
|
||||||
megaBytes / seconds);
|
megaBytes / seconds);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue