Fix release build w/ Wunused-param