From 2347f37f677cc4c3acbc84c424c08dff369e9047 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Tue, 27 Dec 2022 11:18:02 +0100 Subject: [PATCH] ; * 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 3770a4d01e5..b0fbed4b06c 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 () -- 2.39.2