aboutsummaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
authorMattias EngdegÄrd2022-12-27 11:18:02 +0100
committerMattias EngdegÄrd2022-12-27 11:18:02 +0100
commit2347f37f677cc4c3acbc84c424c08dff369e9047 (patch)
tree9661c685a53615896a7bd424137d56eb9c87f9e3 /test/src
parenta6d961ae2fd0eb93938f2afd932f4d3cb63a0412 (diff)
downloademacs-2347f37f677cc4c3acbc84c424c08dff369e9047.tar.gz
emacs-2347f37f677cc4c3acbc84c424c08dff369e9047.zip
; * test/src/treesit-tests.el: remove dead store (bytecomp warning)
Diffstat (limited to 'test/src')
-rw-r--r--test/src/treesit-tests.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/src/treesit-tests.el b/test/src/treesit-tests.el
index 3770a4d01e5..b0fbed4b06c 100644
--- a/test/src/treesit-tests.el
+++ b/test/src/treesit-tests.el
@@ -252,9 +252,7 @@ BODY is the test body."
252 (setq parser (treesit-parser-create 'json)) 252 (setq parser (treesit-parser-create 'json))
253 (setq root (treesit-parser-root-node 253 (setq root (treesit-parser-root-node
254 parser)) 254 parser))
255 (setq array (treesit-node-child root 0)) 255 (setq array (treesit-node-child root 0)))
256 ;; First bracket.
257 (setq cursor (treesit-node-child array 0)))
258 ,@body))) 256 ,@body)))
259 257
260(ert-deftest treesit-search-forward () 258(ert-deftest treesit-search-forward ()