From 2ab08fee7154ad37565f31353d8344599ebd9294 Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Tue, 10 Apr 2007 00:01:41 -0300 Subject: [PATCH] only compile print_property_callback_stack if NDEBUG not set --- lily/grob-property.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lily/grob-property.cc b/lily/grob-property.cc index 740b57dea1..1fcded7df7 100644 --- a/lily/grob-property.cc +++ b/lily/grob-property.cc @@ -25,6 +25,7 @@ Protected_scm grob_property_callback_stack = SCM_EOL; extern bool debug_property_callbacks; +#ifndef NDEBUG static void print_property_callback_stack () { @@ -32,7 +33,7 @@ print_property_callback_stack () for (SCM s = grob_property_callback_stack; scm_is_pair (s); s = scm_cdr (s)) message (_f ("%d: %s", frame++, ly_scm_write_string (scm_car (s)).c_str ())); } - +#endif static SCM modification_callback = SCM_EOL; static SCM cache_callback = SCM_EOL; -- 2.39.5