Skip to content

Commit

Permalink
avmc_queue: Fix build error with --enable-debug-checks
Browse files Browse the repository at this point in the history
  • Loading branch information
lhmouse committed Oct 16, 2023
1 parent 3861e9b commit 1c10ad2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions asteria/llds/avmc_queue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ do_reallocate(uint32_t estor)
bptr = (Header*) ::realloc((void*) this->m_bptr, estor * sizeof(Header));
if(!bptr)
throw ::std::bad_alloc();

#ifdef ROCKET_DEBUG
::memset((void*) this->m_bptr, 0xE6, this->m_estor * sizeof(Header));
#endif
}
else {
// Free the storage.
Expand Down

0 comments on commit 1c10ad2

Please sign in to comment.