Several other things were found by the linter, which this patch doesn't address. The non-use of signal strikes me as the most significant:
c.lua:144:11: shadowing upvalue off1 on line 141
c.lua:186:25: unused argument signal
c.lua:287:35: shadowing upvalue nr on line 55
c.lua:290:33: shadowing upvalue nr on line 55
Given https://github.com/justincormack/ljsyscall/pull/195 , I decided to run a linter on c.lua to see if there were other unused variables. This patch removes most of them.
Several other things were found by the linter, which this patch doesn't address. The non-use of signal strikes me as the most significant: