]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/smobs.cc
* lily/slur.cc (outside_slur_callback): make offset_scm optional.
[lilypond.git] / lily / smobs.cc
index 9629ed45ee610702f2d3e4b1024b56be9e3ac693..fff178ccb27746376a66c6ce24a9e84318821297 100644 (file)
@@ -44,6 +44,7 @@ protect_smob (SCM smob, SCM *prot_cons)
                 prot);
   *prot_cons = prot;
 #else
+  (void) prot_cons; 
   scm_gc_protect_object (smob);
 #endif
 }
@@ -52,6 +53,7 @@ void
 unprotect_smob (SCM smob, SCM *prot_cons)
 {
 #if 1
+  (void) prot_cons; 
   scm_gc_unprotect_object (smob);
 #else
   SCM next = scm_cdr (*prot_cons);