]> git.donarmstrong.com Git - lilypond.git/commitdiff
only compile print_property_callback_stack if NDEBUG not set release/2.11.22-1
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 10 Apr 2007 03:01:41 +0000 (00:01 -0300)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 10 Apr 2007 03:01:41 +0000 (00:01 -0300)
lily/grob-property.cc

index 740b57dea1837eb7bb936503adc86c85fd74ed16..1fcded7df749e3197ce2e2031a1dced00bc39317 100644 (file)
@@ -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;