In Zig, unused variables are errors, which many users find frustrating. I found this patch
https://github.com/ziglang/zig/issues/335#issuecomment-10138... which removes unused variables. I forked Zig and put in this patch and published it on github so that others can more easily rebuild Zig without the unused variable error. Hopefully it saves a couple minutes for others out there!