forked from OSchip/llvm-project
[compiler-rt][XRay] Remove unnecessary assertion.
This assert only causes issues with signed/unsigned comparisons. llvm-svn: 279819
This commit is contained in:
parent
d7bd8fbc0e
commit
fdb0f39ae2
|
@ -53,9 +53,6 @@ static void retryingWriteAll(int Fd, char *Begin, char *End) {
|
|||
Report("Failed to write; errno = %d", errno);
|
||||
return;
|
||||
}
|
||||
|
||||
// FIXME: Figure out whether/how to assert properly.
|
||||
assert(static_cast<uint64_t>(Written) <= TotalBytes);
|
||||
TotalBytes -= Written;
|
||||
if (TotalBytes == 0)
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue