mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
This code is terrible and should not be there. (#496)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user