]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/simple-spacer-scheme.cc
Nitpick run.
[lilypond.git] / lily / simple-spacer-scheme.cc
index c38d1e52edc06c77c4029e538dd855232b88efa4..ec9f4ac35d65b986f450cf24982a1c736c222129 100644 (file)
@@ -73,21 +73,15 @@ LY_DEFINE (ly_solve_spring_rod_problem, "ly:solve-spring-rod-problem",
   SCM force_return = SCM_BOOL_F;
   if (!isinf (spacer.force_)
       && (spacer.is_active () || is_ragged))
-    {
-      force_return = scm_from_double (spacer.force_);
-    }
+    force_return = scm_from_double (spacer.force_);
 
   if (is_ragged
       && posns.top () > spacer.line_len_)
-    {
-      force_return = SCM_BOOL_F;
-    }
+    force_return = SCM_BOOL_F;
 
   SCM retval = SCM_EOL;
   for (int i = posns.size (); i--;)
-    {
-      retval = scm_cons (scm_from_double (posns[i]), retval);
-    }
+    retval = scm_cons (scm_from_double (posns[i]), retval);
 
   retval = scm_cons (force_return, retval);
   return retval;