From f96c42fcb1cd41ef50a7b85e9c7d322933e3254e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Fri, 15 Sep 2000 13:44:50 +0200 Subject: [PATCH] Fixed bug when compiling without PIKE_DEBUG. Rev: src/las.c:1.214 --- src/las.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/las.c b/src/las.c index 5c3ed303ee..d0559c47de 100644 --- a/src/las.c +++ b/src/las.c @@ -5,7 +5,7 @@ \*/ /**/ #include "global.h" -RCSID("$Id: las.c,v 1.213 2000/09/14 11:33:35 grubba Exp $"); +RCSID("$Id: las.c,v 1.214 2000/09/15 11:44:50 grubba Exp $"); #include "language.h" #include "interpret.h" @@ -597,10 +597,12 @@ void debug_free_node(node *n) debug_malloc_touch(n); -#if defined(SHARED_NODES) && defined(PIKE_DEBUG) +#ifdef SHARED_NODES +#ifdef PIKE_DEBUG if (n->refs) { fatal("Node with refs left about to be killed: %8p\n", n); } +#endif /* PIKE_DEBUG */ sub_node(dmalloc_touch(node *, n)); #endif /* SHARED_NODES */ -- GitLab