fix uninitialised var timetype to avoid error from checker
remove extra semicolon
Merge pull request #5405 from apfeiffer1/ap-fixUninitTimetype

fix uninitialised var timetype to avoid error from checker