]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/pitch-scheme.cc
Scheme-callable functions should never return SCM_UNDEFINED
[lilypond.git] / lily / pitch-scheme.cc
index 87f6902943a83a00616e2e10f53e5bf0bcf9b3ca..ad1753251f6c02265535daa261ef3401b5b8dccf 100644 (file)
@@ -174,5 +174,5 @@ LY_DEFINE (ly_set_middle_C_x, "ly:set-middle-C!",
     clef_pos = robust_scm2int (cue_pos, 0);
 
   c->set_property (ly_symbol2scm ("middleCPosition"), scm_from_int (clef_pos + offset));
-  return SCM_UNDEFINED;
+  return SCM_UNSPECIFIED;
 }