]> git.donarmstrong.com Git - lilypond.git/commitdiff
* lily/context.cc:
authorJoe Neeman <joeneeman@gmail.com>
Fri, 20 Oct 2006 17:31:46 +0000 (17:31 +0000)
committerJoe Neeman <joeneeman@gmail.com>
Fri, 20 Oct 2006 17:31:46 +0000 (17:31 +0000)
* lily/prob.cc: use variables

ChangeLog
lily/context.cc
lily/prob.cc

index 626de9cc7c600113ee07727aa75c85c32cffb6c8..31df76944e3ae1acc5c4cae4b20117209e20c758 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-10-20  Joe Neeman  <joeneeman@gmail.com>
+
+       * lily/context.cc: 
+       * lily/prob.cc: use variables
+
 2006-10-20  Han-Wen Nienhuys  <hanwen@lilypond.org>
 
        * lily/arpeggio.cc (Module): idem.
index 706548774539a854ec5f91080e52565f9de1344d..d4177e77bfa040018e57a085a68740085c915204 100644 (file)
@@ -475,6 +475,12 @@ Context::internal_set_property (SCM sym, SCM val
 #endif
                                )
 {
+#ifndef NDEBUG
+  (void) file;
+  (void) line;
+  (void) fun;
+#endif
+
   if (do_internal_type_checking_global)
     assert (type_check_assignment (sym, val, ly_symbol2scm ("translation-type?")));
 
index 2c651358f3086de4c96182b9a80fa6d6c136f4e4..e28c24411a309a53bd0eead98b759e9c55d45c7e 100644 (file)
@@ -147,6 +147,12 @@ Prob::internal_set_property (SCM sym, SCM val
 #endif
                             ) 
 {
+#ifndef NDEBUG
+  (void) file;
+  (void) line;
+  (void) fun;
+#endif
+
   if (do_internal_type_checking_global)
     type_check_assignment (sym, val);