[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 2347f37f67: ; * test/src/treesit-tests.el: remove dead store (b
From: |
Mattias Engdegård |
Subject: |
emacs-29 2347f37f67: ; * test/src/treesit-tests.el: remove dead store (bytecomp warning) |
Date: |
Tue, 27 Dec 2022 05:21:11 -0500 (EST) |
branch: emacs-29
commit 2347f37f677cc4c3acbc84c424c08dff369e9047
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>
; * test/src/treesit-tests.el: remove dead store (bytecomp warning)
---
test/src/treesit-tests.el | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/test/src/treesit-tests.el b/test/src/treesit-tests.el
index 3770a4d01e..b0fbed4b06 100644
--- a/test/src/treesit-tests.el
+++ b/test/src/treesit-tests.el
@@ -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 ()
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-29 2347f37f67: ; * test/src/treesit-tests.el: remove dead store (bytecomp warning),
Mattias Engdegård <=