]> git.eshelyaron.com Git - emacs.git/commitdiff
; * test/src/treesit-tests.el: remove dead store (bytecomp warning)
authorMattias Engdegård <mattiase@acm.org>
Tue, 27 Dec 2022 10:18:02 +0000 (11:18 +0100)
committerMattias Engdegård <mattiase@acm.org>
Tue, 27 Dec 2022 10:18:02 +0000 (11:18 +0100)
test/src/treesit-tests.el

index 3770a4d01e5e118f3ccec5ef769393003b6da91f..b0fbed4b06cc06da01ef1ed4f69e966b46b3a29e 100644 (file)
@@ -252,9 +252,7 @@ BODY is the test body."
          (setq parser (treesit-parser-create 'json))
          (setq root (treesit-parser-root-node
                      parser))
-         (setq array (treesit-node-child root 0))
-         ;; First bracket.
-         (setq cursor (treesit-node-child array 0)))
+         (setq array (treesit-node-child root 0)))
        ,@body)))
 
 (ert-deftest treesit-search-forward ()