[latex3-commits] [git/LaTeX3-latex3-luaotfload] dev: Drop unused variable (bee88ae)
Marcel Fabian Krüger
tex at 2krueger.de
Mon May 11 12:25:16 CEST 2020
Repository : https://github.com/latex3/luaotfload
On branch : dev
Link : https://github.com/latex3/luaotfload/commit/bee88ae395018d5f20196031d7756685a59a5624
>---------------------------------------------------------------
commit bee88ae395018d5f20196031d7756685a59a5624
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Mon May 11 12:25:16 2020 +0200
Drop unused variable
>---------------------------------------------------------------
bee88ae395018d5f20196031d7756685a59a5624
src/luaotfload-database.lua | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/luaotfload-database.lua b/src/luaotfload-database.lua
index af123a0..9d03cb3 100644
--- a/src/luaotfload-database.lua
+++ b/src/luaotfload-database.lua
@@ -2129,16 +2129,14 @@ do
if formats then
current_formats = tableappend (current_formats, formats)
end
- elseif stringsub (formats, 1, 1) == "-" then -- add
+ elseif stringsub (formats, 1, 1) == "-" then -- remove
formats = lpegmatch (splitcomma, stringsub (formats, 2))
if formats then
local newformats = { }
for i = 1, #current_formats do
local fmt = current_formats[i]
- local include = true
for j = 1, #formats do
if current_formats[i] == formats[j] then
- include = false
goto skip
end
end
More information about the latex3-commits
mailing list.