Use empty inline function to ignore return values

A sane compiler will optimize away the function call and still consider the argument used.

This seems less of a hack than a global variable.