fix compilation errors of unused-variable

CMSSW is compiled with the option `-Werror=unused-variable` by default in certain circumstances. This PR comments out the definitions of two unused variables so that the compilation succeeds with this option.