Skip to content

Commit 9a039f5

Browse files
committed
remove dead code
1 parent 4bd3bcc commit 9a039f5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/clojure/clojure/tools/emitter/passes/jvm/clear_locals.clj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,7 @@
7878
(defmethod -clear-locals :default
7979
[{:keys [closed-overs op loop-id] :as ast}]
8080
(if closed-overs
81-
(let [key (if (= :loop op) :loop-closed-overs ) ;; if we're in a loop those are not actually closed-overs
82-
[ast body-locals] (binding [*clears* (atom (if (= :loop op)
81+
(let [[ast body-locals] (binding [*clears* (atom (if (= :loop op) ;; if we're in a loop those are not actually closed-overs
8382
(assoc-in @*clears* [:loop-closed-overs loop-id] closed-overs)
8483
(update-in @*clears* [:closed-overs] merge closed-overs)))] ;; clear locals in the body
8584
[(update-children ast -clear-locals rseqv) (:locals @*clears*)]) ;; and save encountered locals

0 commit comments

Comments
 (0)