guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/05: installer: Remove unused variable.


From: guix-commits
Subject: 02/05: installer: Remove unused variable.
Date: Wed, 9 Nov 2022 18:17:05 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 0916a79f8c7e1e489d663fbddab0631d2325806d
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Thu Nov 3 18:01:22 2022 +0100

    installer: Remove unused variable.
    
    * gnu/installer/newt.scm (newt-run-command): Remove
    'displayed-command'.
---
 gnu/installer/newt.scm | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/gnu/installer/newt.scm b/gnu/installer/newt.scm
index 0bd0856219..c486788ed4 100644
--- a/gnu/installer/newt.scm
+++ b/gnu/installer/newt.scm
@@ -117,10 +117,6 @@ report it by email to ~a.") uploaded-name 
%guix-bug-report-address)
   (define (line-accumulator line)
     (set! command-output
           (string-append/shared command-output line "\n")))
-  (define displayed-command
-    (string-join
-     (map (lambda (s) (string-append "\"" s "\"")) args)
-     " "))
   (define result (run-external-command-with-line-hooks (list line-accumulator)
                                                        args))
   (define exit-val (status:exit-val result))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]