guix-patches
[Top][All Lists]
Advanced

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

[bug#59003] [PATCH 7/7] installer: Remove unused variable.


From: Ludovic Courtès
Subject: [bug#59003] [PATCH 7/7] installer: Remove unused variable.
Date: Thu, 3 Nov 2022 20:19:35 +0100

* 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 60f9e75b81..798ff53af2 100644
--- a/gnu/installer/newt.scm
+++ b/gnu/installer/newt.scm
@@ -117,10 +117,6 @@ (define command-output "")
   (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))
-- 
2.38.0






reply via email to

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