Fixed -Wno-error=unused-parameter