justincormack / ljsyscall

LuaJIT Unix syscall FFI
http://www.myriabit.com/ljsyscall/
Other
440 stars 53 forks source link

Reduce the number of unused variables #198

Closed kbara closed 7 years ago

kbara commented 8 years ago

This also removes some unused functions.

kbara commented 8 years ago

At this point, everything except test/globals.sh passes. I'm not quite sure about the intended purpose of the failing test; insight appreciated.

justincormack commented 8 years ago

The test is complaining that you are using ntohs as a global not a local. It is odd though I can't see which usage it is complaining about.