aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/generators/gen_api_ui_events.lua2
-rw-r--r--src/nvim/options.lua2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/nvim/generators/gen_api_ui_events.lua b/src/nvim/generators/gen_api_ui_events.lua
index e9f30b84f0..3cb117d8b5 100644
--- a/src/nvim/generators/gen_api_ui_events.lua
+++ b/src/nvim/generators/gen_api_ui_events.lua
@@ -75,7 +75,6 @@ for i = 1, #events do
end
if not ev.bridge_impl and not ev.noexport then
-
local send, argv, recv, recv_argv, recv_cleanup = '', '', '', '', ''
local argc = 1
for j = 1, #ev.parameters do
@@ -161,7 +160,6 @@ for i = 1, #events do
call_output:write(";\n")
call_output:write("}\n\n")
end
-
end
proto_output:close()
diff --git a/src/nvim/options.lua b/src/nvim/options.lua
index 30409807aa..27f72f6441 100644
--- a/src/nvim/options.lua
+++ b/src/nvim/options.lua
@@ -40,7 +40,7 @@ local imacros=function(s)
return '(intptr_t)' .. s
end
end
-local N_=function(s) -- luacheck: ignore 211
+local N_=function(s) -- luacheck: ignore 211 (currently unused)
return function()
return 'N_(' .. cstr(s) .. ')'
end