parent
a491246f8f
commit
dce31e2723
|
@ -492,11 +492,14 @@ rb_bh_usage(rb_bh *bh, size_t *bused, size_t *bfree, size_t *bmemusage, const ch
|
|||
if(desc != NULL)
|
||||
*desc = bh->desc;
|
||||
#else
|
||||
static char *noballoc = "no blockheap";
|
||||
if(bused != NULL)
|
||||
*bused = 0;
|
||||
if(bfree != NULL)
|
||||
*bfree = 0;
|
||||
if(bmemusage != NULL)
|
||||
*bmemusage = 0;
|
||||
*desc = noballoc;
|
||||
if(desc != NULL)
|
||||
*desc = "no blockheap";
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
@ -28,9 +28,7 @@
|
|||
#include <ratbox_lib.h>
|
||||
#include <commio-int.h>
|
||||
|
||||
#ifndef NOBALLOC
|
||||
static rb_bh *rb_linebuf_heap;
|
||||
#endif
|
||||
|
||||
static int bufline_count = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue