]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 4959: output-ps.scm: remove unused helper functions
authorDavid Kastrup <dak@gnu.org>
Wed, 24 Aug 2016 17:45:55 +0000 (19:45 +0200)
committerDavid Kastrup <dak@gnu.org>
Wed, 24 Aug 2016 17:47:00 +0000 (19:47 +0200)
Their presence makes debugging harder by laying false trails.

scm/output-ps.scm

index 70b13848e4aa6ad898bac04f79d33c80dfdaf838..6d3ab63c2fcf30dd78370cd7cb97e9b458abbe0e 100644 (file)
              (scm framework-ps)
              (lily))
 
-;;; helper functions, not part of output interface
-;;;
-
-
-;; ice-9 format uses a lot of memory
-;; using simple-format almost halves lilypond cell usage
-
-(define (str4 num)
-  (if (or (nan? num) (inf? num))
-      (begin
-        (ly:warning (_ "Found infinity or nan in output.  Substituting 0.0"))
-        (if (ly:get-option 'strict-infinity-checking)
-            (exit 1))
-        "0.0")
-      (ly:number->string num)))
-
-(define (number-pair->string4 numpair)
-  (ly:format "~4l" numpair))
-
 ;;;
 ;;; Lily output interface, PostScript implementation --- cleanup and docme
 ;;;