fixed issues related to unused variables in ThreeStateHMM

clang seems doing a better job in detecting suspicious code