From 836e281b80feaf7e3eeab6fa96e8b91f7f9ae3a9 Mon Sep 17 00:00:00 2001 From: Guus Waals <_@guusw.nl> Date: Wed, 28 May 2025 14:40:05 +0800 Subject: [PATCH] Return in findGlobals --- tooling/tool.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tooling/tool.cpp b/tooling/tool.cpp index ce9802c2..aaf06c18 100644 --- a/tooling/tool.cpp +++ b/tooling/tool.cpp @@ -584,6 +584,7 @@ void findGlobals(TSNode node, const char *source_code, uint32_t source_length, std::string src = extractNodeText(node, source_code); SPDLOG_ERROR("Failed to get global name for {}", src); } + return; } }