[sanitizer] zx_cprng_draw no longer returns any value

Remove the return value check.

Differential Revision: https://reviews.llvm.org/D48671

llvm-svn: 335790
This commit is contained in:
Petr Hosek 2018-06-27 21:25:21 +00:00
parent ee8010abe3
commit 61574fdb06
1 changed files with 1 additions and 1 deletions

View File

@ -472,7 +472,7 @@ uptr MainThreadStackBase, MainThreadStackSize;
bool GetRandom(void *buffer, uptr length, bool blocking) {
CHECK_LE(length, ZX_CPRNG_DRAW_MAX_LEN);
CHECK_EQ(_zx_cprng_draw(buffer, length), ZX_OK);
_zx_cprng_draw(buffer, length);
return true;
}