Remove unused local variable in TrigGepPerf and fix the corresponding clang warning.
TrigGepPerf
/cc @elmsheus @tsulaia @joheinri