[Top][All Lists]

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

[elpa] master 65bd910 35/45: `js2-time' remove unused variable.

From: Dmitry Gutov
Subject: [elpa] master 65bd910 35/45: `js2-time' remove unused variable.
Date: Mon, 02 Feb 2015 03:18:47 +0000

branch: master
commit 65bd9109bf62e978004b82254a20c40122282941
Author: Zhang Kai Yu <address@hidden>
Commit: Zhang Kai Yu <address@hidden>

    `js2-time' remove unused variable.
 js2-mode.el |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/js2-mode.el b/js2-mode.el
index d8e32f8..599e608 100644
--- a/js2-mode.el
+++ b/js2-mode.el
@@ -2074,10 +2074,8 @@ Returns nil if element is not found in the list."
 (defmacro js2-time (form)
   "Evaluate FORM, discard result, and return elapsed time in sec."
   (declare (debug t))
-  (let ((beg (make-symbol "--js2-time-beg--"))
-        (delta (make-symbol "--js2-time-end--")))
-    `(let ((,beg (current-time))
-           ,delta)
+  (let ((beg (make-symbol "--js2-time-beg--")))
+    `(let ((,beg (current-time)))
        (/ (truncate (* (- (float-time (current-time))
                           (float-time ,beg))

reply via email to

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