Refs #10686. fixed unused-parameter warning on gcc.