Cleanup various varargs shenanigans (#9624)

* Iterate over varargs directly via select if possible
* Use table.pack otherwise (https://github.com/koreader/koreader-base/pull/1535).
* This allows us to simplify a few Logger calls, as logger now handles nil values.
This commit is contained in:
NiLuJe
2022-10-12 19:59:48 +02:00
committed by GitHub
parent 8508689cea
commit da65ac8b02
17 changed files with 44 additions and 45 deletions

View File

@@ -6,6 +6,8 @@ self = false
globals = {
"G_reader_settings",
"G_defaults",
"table.pack",
"table.unpack",
}
read_globals = {