-Wno-used-parameter fixes