]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/spacing-basic.cc
coding style cleanup
[lilypond.git] / lily / spacing-basic.cc
index 4387c788be52fff6718648e0f7a2e09caae045fe..2cd69fa4ffc4efc9ee5e4abd652133594bcfd6e8 100644 (file)
@@ -133,16 +133,15 @@ Spacing_spanner::note_spacing (Grob *me, Grob *lc, Grob *rc,
     property in paper-column.
   */
 
-  Moment *dt = get_measure_length (lc);
-  if (dt)
+  if (Moment *measure_len = get_measure_length (lc))
     {
-      delta_t = min (delta_t, *dt);
+      delta_t = min (delta_t, *measure_len);
 
       /*
        The following is an extra safety measure, such that
        the length of a mmrest event doesn't cause havoc.
       */
-      shortest_playing_len = min (shortest_playing_len, *dt);
+      shortest_playing_len = min (shortest_playing_len, *measure_len);
     }
 
   Real dist = 0.0;