Write (void)argument expressions in generated code to avoid warnings

Previously, Tria generated-code spilled what it felt like billions
of "unused argument" warnings.
Fix some compiler warnings.