diff --git a/frame/base/bli_mem.h b/frame/base/bli_mem.h index d7805ba99..aa19939d5 100644 --- a/frame/base/bli_mem.h +++ b/frame/base/bli_mem.h @@ -147,14 +147,7 @@ static void bli_mem_set_size( siz_t size, mem_t* mem ) static void bli_mem_clear( mem_t* mem ) { bli_mem_set_buffer( NULL, mem ); -#ifdef __cplusplus - packbuf_t pb; - //C++ has more strong type checking. Using -1 will result in error - //Pass actual type instead - bli_mem_set_buf_type ( pb, mem ); -#else bli_mem_set_buf_type( ( packbuf_t )-1, mem ); -#endif bli_mem_set_pool( NULL, mem ); bli_mem_set_size( 0, mem ); }