]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/comp.el (comp-final1): Clean-up unused form.
authorAndrea Corallo <acorallo@gnu.org>
Tue, 19 Sep 2023 08:37:33 +0000 (10:37 +0200)
committerAndrea Corallo <acorallo@gnu.org>
Tue, 19 Sep 2023 09:46:19 +0000 (11:46 +0200)
lisp/emacs-lisp/comp.el

index a8567c5da00e7074420f636103ff7667c917f9fe..37771eb004eb814b88b96b28cf11ad711fa20195 100644 (file)
@@ -3757,13 +3757,10 @@ Prepare every function for final compilation and drive the C back-end."
     (comp--compile-ctxt-to-file name)))
 
 (defun comp-final1 ()
-  (let (compile-result)
-    (comp--init-ctxt)
-    (unwind-protect
-        (setf compile-result
-              (comp-compile-ctxt-to-file (comp-ctxt-output comp-ctxt)))
-      (and (comp--release-ctxt)
-           compile-result))))
+  (comp--init-ctxt)
+  (unwind-protect
+      (comp-compile-ctxt-to-file (comp-ctxt-output comp-ctxt))
+    (comp--release-ctxt)))
 
 (defvar comp-async-compilation nil
   "Non-nil while executing an asynchronous native compilation.")