]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/smobs.cc
Nitpick run.
[lilypond.git] / lily / smobs.cc
index e2ec5d5638124b947cd9cf0c936ebe1e86dff775..e984567be520ed5663c4bad95f44777896e7a251 100644 (file)
@@ -23,9 +23,7 @@ protect_smob (SCM smob, SCM *prot_cons)
 {
   SCM s = scm_cdr (smob_protection_list);
   while (scm_is_pair (s) && scm_car (s) == SCM_UNDEFINED)
-    {
-      s = scm_cdr (s);
-    }
+    s = scm_cdr (s);
 
   SCM prot = scm_cons (smob, s);
   scm_set_cdr_x (smob_protection_list,
@@ -39,9 +37,7 @@ unprotect_smob (SCM *prot_cons)
   SCM next = scm_cdr (*prot_cons);
 
   if (next == SCM_EOL)
-    {
-      scm_set_car_x (*prot_cons, SCM_UNDEFINED);
-    }
+    scm_set_car_x (*prot_cons, SCM_UNDEFINED);
   else
     {
       scm_set_car_x (*prot_cons, SCM_UNDEFINED);