From: Han-Wen Nienhuys Date: Tue, 10 Apr 2007 03:01:41 +0000 (-0300) Subject: only compile print_property_callback_stack if NDEBUG not set X-Git-Tag: release/2.11.22-1 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=2ab08fee7154ad37565f31353d8344599ebd9294;p=lilypond.git only compile print_property_callback_stack if NDEBUG not set --- 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;