Skip to content
Snippets Groups Projects
Commit d4617352 authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

warning removed

Rev: src/gc.c:1.32
parent f880f6fe
Branches
Tags
No related merge requests found
...@@ -25,7 +25,7 @@ struct callback *gc_evaluator_callback=0; ...@@ -25,7 +25,7 @@ struct callback *gc_evaluator_callback=0;
#include "main.h" #include "main.h"
#include <math.h> #include <math.h>
RCSID("$Id: gc.c,v 1.31 1998/04/06 04:25:26 hubbe Exp $"); RCSID("$Id: gc.c,v 1.32 1998/04/08 00:58:46 hubbe Exp $");
/* Run garbage collect approximate every time we have /* Run garbage collect approximate every time we have
* 20 percent of all arrays, objects and programs is * 20 percent of all arrays, objects and programs is
...@@ -290,8 +290,12 @@ void describe_something(void *a, int t, int dm) ...@@ -290,8 +290,12 @@ void describe_something(void *a, int t, int dm)
{ {
struct program *p=(struct program *)a; struct program *p=(struct program *)a;
if(!a) return; if(!a) return;
#ifdef DEBUG_MALLOC
if(dm) if(dm)
debug_malloc_dump_references(a); debug_malloc_dump_references(a);
#endif
if(t==-1) if(t==-1)
{ {
fprintf(stderr,"**Location description: %s\n",(char *)a); fprintf(stderr,"**Location description: %s\n",(char *)a);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment