This code is terrible and should not be there. (#496)

This commit is contained in:
Daniel Lemire
2020-02-13 07:38:11 -05:00
committed by GitHub
parent a8903d9765
commit 083569fca8
-2
View File
@@ -21,8 +21,6 @@ inline char *allocate_padded_buffer(size_t length) noexcept {
char *padded_buffer = aligned_malloc_char(64, totalpaddedlength);
#ifndef NDEBUG
if (padded_buffer == nullptr) {
errno = EINVAL;
perror("simdjson::allocate_padded_buffer() aligned_malloc_char() failed");
return nullptr;
}
#endif // NDEBUG