Port to new memory model: M_MEMORY_FULL cannot return anymore

This commit is contained in:
Patrick Pelissier committed 2025-05-07 21:02:23 +02:00
1 parent 8939b4d046
commit 324ba5d256
3 files changed
-5

No files matched your search

-3
View File
@@ -179,9 +179,6 @@ M_P(uint8_t *, m_bstr1ng, _fit2size, m_bstring_t v, size_t size_alloc, bool exac
return &v->ptr[v->offset];
allocation_error:
M_MEMORY_FULL(uint8_t, size_alloc);
// NOTE: Return is currently broken.
abort();
return NULL;
}
/* Push the byte 'c' in the bstring 'v' */