Skip to content

Commit 083569f

Browse files
authored
This code is terrible and should not be there. (simdjson#496)
1 parent a8903d9 commit 083569f

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

include/simdjson/padded_string.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ inline char *allocate_padded_buffer(size_t length) noexcept {
2121
char *padded_buffer = aligned_malloc_char(64, totalpaddedlength);
2222
#ifndef NDEBUG
2323
if (padded_buffer == nullptr) {
24-
errno = EINVAL;
25-
perror("simdjson::allocate_padded_buffer() aligned_malloc_char() failed");
2624
return nullptr;
2725
}
2826
#endif // NDEBUG

0 commit comments

Comments
 (0)